sir pannels
04-03-2005, 12:36 PM
Hi There,
I'm trying to get rid of the exstension for files in one of my directorys..
For example if you type site.com/page2 it will display the content of site.com/page2.php without displaying the file ext... however I have got a 500 error... here (http://effectserv.com).
The code I'm using is
Options +FollowSymLinks
rewriteEngine On
RewriteRule ^(.*) /$1.php
rewriteLog /public_html/logs/rewrite.log
I have removed the log line however that makes no difference so it rules out that.
Any ideas? Cheers :)
P
I'm trying to get rid of the exstension for files in one of my directorys..
For example if you type site.com/page2 it will display the content of site.com/page2.php without displaying the file ext... however I have got a 500 error... here (http://effectserv.com).
The code I'm using is
Options +FollowSymLinks
rewriteEngine On
RewriteRule ^(.*) /$1.php
rewriteLog /public_html/logs/rewrite.log
I have removed the log line however that makes no difference so it rules out that.
Any ideas? Cheers :)
P