Re: confusion about the file extension for php interpreter to interpret
| From: | Sharl.Jimh.Tsin | Date: | Sun, 14 Nov 2010 07:12:10 +0000 |
| Subject: | Re: confusion about the file extension for php interpreter to interpret | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-309478@lists.php.net to get a copy of this message | ||
you can use Apache configuration and mod_rewrite to get it, without no
changes on php.
Best regards,
Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED**)
2010/11/14 肖晗 <xiaohan2012@gmail.com>:
> Apache defaultly use php interpreter to execute files ended with '.php'
> extension.
> How can I change this rule?Can I change the default extension to any
> arbitrary name? Such as .PHP or .Php and so on.
> And I am using Ubuntu/Linux, Apache2 and php5.
>
> Thanks very much!
>