Help in upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/85 - Release Date: 8/30/2005

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux