[thelist] php extension
Joe Crawford
joe at artlung.com
Tue Nov 21 09:40:18 CST 2006
On 11/20/06, Kane Wilson <gsm_color at yahoo.com> wrote:
> Hi ,
>
> Generally , when we hosting php in apache , we need to host that files as *.php, php3....etc ( php extension ). Is it possible to put that files with different extensions ? (like hello.xyz)
> If it is possible , how ? can i find a proper guide on for apache web server ?
>
# Another approach, place this in your .htaccess file:
# it requires htaccess
# how to make .php files masquerade as .xyz
RewriteEngine On
RewriteRule ^(.+).xyz $1.php
- Joe
--
http://joecrawford.com/
805-857-3951
More information about the thelist
mailing list