Bug #13909 Updated: Parsed .php as .html error when parsed .shtml as .html exist
| From: | cnewbill@php.net | Date: | Fri, 02 Nov 2001 18:26:43 +0000 |
| Subject: | Bug #13909 Updated: Parsed .php as .html error when parsed .shtml as .html exist | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-69542@lists.php.net to get a copy of this message | ||
ID: 13909
Updated by: cnewbill
Reported By: earnpin@it-lodge.com
Status: Closed
Bug Type: *Configuration Issues
Operating System: Linux RH 7
PHP Version: 4.0.6
New Comment:
I am pretty sure Apache 1.3.x only allows one processor for an extension. There are convuleted
(VERY) ways to do this, but why??? Why would you want this?? :) Everything shtml can do, so can
PHP and more.
-Chris
Previous Comments:
------------------------------------------------------------------------
[2001-11-02 13:23:11] sander@php.net
AFAIK, you can't with 1.3.x. You can try 2.0, which is still in beta (or alpha?).
------------------------------------------------------------------------
[2001-11-02 13:06:56] earnpin@it-lodge.com
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 this bug report at http://bugs.php.net/?id=13909&edit=1