Forum Moderators: phranque
I used this line of code in my .htaccess file:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^(www\.)?ezboard\.com
RewriteRule .* - [F]
Can you tell me what I'm doing wrong? I've tried derivates of the above and am still getting the error.
Also, does it matter where in the .htaccess file it goes?
Thanks for your help - I'm a complete novice (as you can surely tell).
If you are getting a 500-Server Error, examine your server error log file -- It will often tell you exactly what is wrong. (This file should be available via FTP, a shell login, or through your 'control panel'.)
Since there is nothing visibily wrong with your code, I would guess that the problem is one of the following -- but do check your server error log first:
1) Mod_rewrite is not supported on your server -- talk to your host again, or cosider using Apache mod_access instead.
-or-
2) The "Options" directive, while required on many servers, is not allowed on others. It might work if you removed that line -- Again, ask your host.
Jim