Re: fake .php extension
| From: | Maria Garcia Suarez | Date: | Tue, 15 Jul 2003 12:24:57 +0000 |
| Subject: | Re: fake .php extension | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155269@lists.php.net to get a copy of this message | ||
Hi there!
--- Nabil <nabil.attar@aws-syria.com> wrote:
> How can confugure Apache to execute a real php files
> but with fake extention
> like .foo or .pl or even .html?
I don't have any Apache around right now but you have
to search inside httpd.conf for the "php" string, one
of the entries is the one defining which files should
be processed by php before giving the results to
Apache. Just add .html, .whatever to the .php that is
already listed there.
Kisses,
Maria
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com