Help in upgrade
| From: | PHP | Date: | Tue, 30 Aug 2005 19:18:55 +0000 |
| Subject: | Help in upgrade | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-221613@lists.php.net to get a copy of this message | ||
Hi,
I am trying to upgrade my server to apache 2 from apache 1, but i am running into a problem
in apache 1, i had the following line:
AddType application/x-httpd-php .php .php3 .phtml .htm .html
now if there is a certain directory where i specify to turn the engine off:
<Directory "/home/httpd/test">
php_flag engine on
</Directory>
it would still server the regular .htm pages fine.
Unfortuanetly, it seems in apache 2, it does not allow this.
if i try to server a page from a directory where i have turned the engine off, it prompts the my
browser to download the .htm file now.
i can't remove .htm and .html from my AddType because I have .html files that have php code
unfortuanetly.
has anyone found a way around this?
thanks