![]() |
|
|
+ Search |
![]()
|
Mar 12th, 2000 18:47
Suso Banderas,
Under the Apache webserver you can use mod_rewrite to do this. Simply enable mod_rewrite and then enter the following rewrite rule: RewriteRule (.*)\.phps $1.phtml [PT,NS,T=application/x-httpd-php3-source] Doing this is useful if you want to let anyone see the source to your PHP script, but without copying each script file to .phps or making symbolic links.