Bug #13909 Updated: Parsed .php as .html error when parsed .shtml as .html exist
| From: | joey@php.net | Date: | Fri, 09 Nov 2001 08:19:51 +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-69865@lists.php.net to get a copy of this message | ||
ID: 13909
Updated by: joey
Reported By: earnpin@it-lodge.com
Status: Closed
Bug Type: *Configuration Issues
Operating System: Linux RH 7
PHP Version: 4.0.6
New Comment:
Actually, it's not all THAT convoluted:
index.html <where .html is going to be processed by
SSI...not reccomended behavior>
<!-- your ssi stuff here -->
<!-- #include virtual="/page/to/be/parsed/by.php" -->
But I would also point out that PHP is a much more
flexible structure than SSI, while covering (more or less)
all of SSI's feature set, and you should really look closely
at any solution that requires this workaround.
Previous Comments:
------------------------------------------------------------------------
[2001-11-02 13:26:43] cnewbill@php.net
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
------------------------------------------------------------------------
[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