Hi,
This is my first post so sorry if I sound n00bish.
I am trying to make my website so that you can get to
http://example.com/example.php through
http://example.com/example.
My code works fine (code not mine!), but when I go to a page that should through a 404 error, eg not there, I get a 500 internal server error. Here is my .htaccess code:
Code:
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php [L]
ErrorDocument 403 /403.php
ErrorDocument 404 /404.php
Please help if you can,
Microbug