UnixServerAdmin

Server Administration & Management

Options FollowSymLinks or SymLinksIfOwnerMatch forbidden error

When you get this error while browsing your site :

====================================================================================
[Mon March  14 01:55:09 GMT 2011] [error] [client 127.0.0.1] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule
directive is forbidden: /home/username/public_html/foldername/403.shtml
====================================================================================

Just  add the following code in the .htaccess file  :

#  vi .htaccess

========================================
RewriteEngine On
Options +FollowSymLinks +SymLinksIfOwnerMatch
========================================

That’s all this will do it.

Advertisements

March 15, 2011 Posted by | Apache, htaccess | , , | 5 Comments