This is a discussion on fake .php extension within the PHP General forums, part of the PHP Programming Forums category; How can confugure Apache to execute a real php files but with fake extention like .foo or .pl or even ....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
- simply go into the apache config file
- search for php - somewhere it should say at the end of the line .php .phtml . - no just add your extension "Nabil" <nabil.attar@aws-syria.com> schrieb im Newsbeitrag news:20030715120442.70253.qmail@pb1.pair.com... > How can confugure Apache to execute a real php files but with fake extention > like .foo or .pl or even .html? > > Regards > Nabil > > |
|
|||
|
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 |
|
|||
|
On Tuesday 15 July 2003 20:04, Nabil wrote:
> How can confugure Apache to execute a real php files but with fake > extention like .foo or .pl or even .html? AddType application/x-httpd-php .php4 .php3 .phtml .php .foo .bar .pl .asp -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* America's best buy for a quarter is a telephone call to the right person. */ |