Options FollowSymLinks or SymLinksIfOwnerMatch forbidden error?

If you receive following error message after browsing the domain/website

[Sat Oct 31 04:28:39 2009] [error] [client x.x.x.x] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /home/xxx/public_html/xxx/403.shtml
[Sat Oct 31 04:29:47 2009] [error] [client x.x.x.x] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /home/xxx/public_html/xxx.co.uk/Bracelets/Stencil-Heart-Bracelet.html

To avoid above error you can add following codes in .htaccess file.

root@gunjan[#]vi .htaccess

RewriteEngine On
Options +FollowSymLinks :wq!
About Anant 384 Articles
Senior technical writer