Re: Bug #13909 Updated: Parsed .php as .html error when parsed .shtml as .html exist

From: Date: Sun, 04 Nov 2001 04:31:52 +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-69604@lists.php.net to get a copy of this message
Dear Chris, 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:26 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: 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 ------------------------------------------------------------------------

« previous php.dev (#69604) next »