Re: <?php ...... ?> ignored? What's wrong???
From: yawnmoth (terra1024_at_yahoo.com)
Date: 07/04/04
- Next message: StinkFinger: "Cleaning up sessiondata folder..."
- Previous message: yawnmoth: "unexpected preg_replace behavior"
- In reply to: Jeffrey Silverman: "Re: <?php ...... ?> ignored? What's wrong???"
- Next in thread: Tim Van Wassenhove: "Re: <?php ...... ?> ignored? What's wrong???"
- Reply: Tim Van Wassenhove: "Re: <?php ...... ?> ignored? What's wrong???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 04 Jul 2004 08:19:54 GMT
On Sat, 03 Jul 2004 08:10:06 -0400, Jeffrey Silverman
<jeffrey@jhu.edu> wrote:
>On Sat, 03 Jul 2004 08:41:49 +0200, B.W.H. van Beest wrote:
>
>> DirectoryIndex index.php index.html
>
>You can configure Apache to parse HTML files through the PHP parser as
>well. I don't recommend it, though, but only for performance reasons.
>(Actually, the performance hit is not too bad. I mean, if your whole site
>is done in PHP anyways, what difference does it make if HTML files are
>parsed as well? At least that's my take on it.)
>
>Try this, then, in httpd.conf:
>
>##
>AddType application/x-httpd-php .php .html
>##
>## Note the addition of ".html" to the end of that line.
>
>later...
are there any advantages / disadvantages to adding the AddType
whatever line in httpd.conf as opposed to the .htaccess file in the
base dir?
- Next message: StinkFinger: "Cleaning up sessiondata folder..."
- Previous message: yawnmoth: "unexpected preg_replace behavior"
- In reply to: Jeffrey Silverman: "Re: <?php ...... ?> ignored? What's wrong???"
- Next in thread: Tim Van Wassenhove: "Re: <?php ...... ?> ignored? What's wrong???"
- Reply: Tim Van Wassenhove: "Re: <?php ...... ?> ignored? What's wrong???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|