Bug #13909: Parsed .php as .html error when parsed .shtml as .html exist
| From: | earnpin at it-lodge dot com | Date: | Fri, 02 Nov 2001 18:06:56 +0000 |
| Subject: | Bug #13909: Parsed .php as .html error when parsed .shtml as .html exist | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-69539@lists.php.net to get a copy of this message | ||
From: earnpin@it-lodge.com
Operating system: Linux RH 7
PHP version: 4.0.6
PHP Bug Type: *Configuration Issues
Bug description: Parsed .php as .html error when parsed .shtml as .html exist
When both server-parse exist in httpd.conf, one will not work. How to make
Apache to parse .php as .html and then follow by parsing .shtml as .html.
My conf is as followed:
AddType application/x-httpd-php .php .html
AddType application/x-httpd-php-source .phps
AddType text/html .shtml .html
AddHandler server-parsed .shtml .html
-----------
Help please,
Cheers,
Earnpin Lee, earnpin@it-lodge.com
--
Edit bug report at: http://bugs.php.net/?id=13909&edit=1