PHP/apach config question
| From: | Michael Packer | Date: | Tue, 22 Aug 2000 18:35:50 +0000 |
| Subject: | PHP/apach config question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12994@lists.php.net to get a copy of this message | ||
I've just setup PHP got it working but have a question about PHP/Apach
configuration...
i've got the following lines in my Apache Web Server:
<IfModule mod_php4.c>
AddType application/x-httpd-php4 .php .phtml .html
AddType application/x-httpd-php .php .phtml .html
</ifModule>
I also elsewhere in the config file have the following to allow server side
includes:
Addtype text/html .shtml .html
AddHandler server-parsed .shtml .html
my <?phpinfo()?> works fine if the file is called test.php, test.phtml, but
it doesn't work if i call it test.html. Is there anyway to configure this
so
apache will parse .html files as PHP and server side includes?
I realize this is more of an apache question but i figured there has to be a
lot
of other people out there that have seen the same thing.
thanks!
pac