View Full Version : mod_rewrite causing 500 internal error.

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 :)


04-03-2005, 10:28 PM
Have you checked out your error log? It will normally say why the 500 error is occuring