Re: Bug #13909 Updated: Parsed .php as .html error when parsed .shtml as .html exist
| From: | Earnpin~IT-Lodge | Date: | Sun, 04 Nov 2001 04:34:03 +0000 |
| Subject: | Re: 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-69605@lists.php.net to get a copy of this message | ||
Dear Sander,
I am using Apache 1.3.20... do you have any trick to make it work instead of upgrading my Apache to
2.0, thanks.
Thank you so much for your fast response. Actually, a lot of my webpage is using SSI. That is why I
have my previous shtml parsed as html. But recently I found PHP is very handy as well, that is why I
would like to try it up. Then, I decide to parse php as html too. That is why the problem comes.
Can you recommend some PHP tutorial site for me to get as a start?
Thank you so much for spend time replying my email. Nice to meet you :)
Cheers,
Earnpin Lee, for IT-Lodge.com
----- Original Message -----
From: Bug Database
To: earnpin@it-lodge.com
Sent: Saturday, November 03, 2001 2:23 AM
Subject: Bug #13909 Updated: Parsed .php as .html error when parsed ..shtml as .html exist
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=13909&edit=2
ID: 13909
Updated by: sander
Reported By: earnpin@it-lodge.com
Old Status: Open
Status: Closed
Bug Type: *Configuration Issues
Operating System: Linux RH 7
PHP Version: 4.0.6
New Comment:
AFAIK, you can't with 1.3.x. You can try 2.0, which is still in beta (or alpha?).
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------