Forum Moderators: phranque
Just been reading about mod_rewrite and ".htaccess"
Thought it would be a good idea if I started to block certain spiders, and maybe stop direct linking to images etc...
Anyways, I get errors as soon as I add the line
RewriteEngine On
to .htaccess file.
Error is: 403
You don't have permission to access / on this server.
I have used .htaccess to redirect to my own 404 page, and to do permanent redirects. So I know that works okay.
Anybosy know why I might get 403 errors just from adding the single line ("RewriteEngine On")?
What is the most simple mod_rewrite rule I could use as test?
Tyhanks,
freemink