Web Hosting Talk







View Full Version : mod_rewrite error


zenex5ive
02-05-2002, 06:08 PM
Hi, i get the following error with my mod_rewrite httaccess

Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden

this is the script i used.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$ [NC]
RewriteRule .*\.(zip|ZIP|gif|GIF|jpg|JPG)$ - [F]


can anyone help me plz????

elsmore1
02-05-2002, 08:22 PM
Error messages are quite often accurate. You need to enable either "Options FollowSymlinks" or "Options SymlinksIfOwnerMatch" for the directory in which you are attempting to run the Rewrite. Probably will need to be done in httpd.conf file though... do you have access to that?


Originally posted by k4nth
Hi, i get the following error with my mod_rewrite httaccess

Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden

this is the script i used.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$ [NC]
RewriteRule .*\.(zip|ZIP|gif|GIF|jpg|JPG)$ - [F]


can anyone help me plz????