Web Hosting Talk







View Full Version : mod_rewrite error


zenex5ive
02-05-2002, 07:05 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????

priyadi
02-06-2002, 10:08 AM
You can't use mod_rewrite with .htaccess when FollowSymlinks or SymlinksIfOwnerMatch is off. You need to turn on one of them on the Apache httpd.conf. If you don't have the access, you need to ask your provider.