.htaccess: Option FollowSymlinks not allowed here

8 posts / 0 new
Last post
#1 Fri, 12/14/2012 - 22:14

.htaccess: Option FollowSymlinks not allowed here

I am getting this error when I upgraded my server. If I remove my .htaccess my home page works but bothing else works. Please help.

Fri, 12/14/2012 - 23:24


Try changing that option to read "SymLinksIfOwnerMatch" instead of "FollowSymlinks", that should get things up and running again.


Sat, 12/15/2012 - 04:50

I tried the following but still doesn't work

Options +SymLinksIfOwnerMatch -MultiViews RewriteEngine on

Sat, 12/15/2012 - 05:39

Please help me out. This is all because of the new feature added by Virtualmin. I even reinstalled my OS but still getting the same error. I would like to know how to disable the new security feature for "Follow symbolic links". My websites are down right now.

Sat, 12/15/2012 - 06:12

It appears you did not do what eric asked you to do? But essentially you have to to check your .htaccess files and change the lines according.

If that doesn't fix the problem, please the check error logs of your (web) server and post the error message here.

And just to clarify. This is not a "security feature", it rather fixes a security vulnerability on your server.

Sat, 12/15/2012 - 10:42

The following code is in the htaccess file. I did exactly what Eric said but doesn't work. Help me in disabling the feature. I tried something in the Apache configuration on enabling "symbolic links" but still doesn't work.

My htaccess looked like this before and replaced like what Eric said.

AddDefaultCharset UTF-8

## 404 Error Page
ErrorDocument 404 /404error.php

## Re-directing Begin
Options +FollowSymlinks -MultiViews
RewriteEngine on
RewriteBase /
## Force forward slash at the end of URL
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$
## If installed in a subfolder, you will need to add that directory after {HTTP_HOST} on the next line.
RewriteRule (.*)([^/])$ http://%{HTTP_HOST}/$1$2/ [R=301,L]

Currently I renamed htaccess and configured by database to work without htaccess.

Sat, 12/15/2012 - 11:02

You could help yourself by showing the .htaccess not only before, but also after you changed it. (please use also the correct tags [default is markdown] to make your post readable :-)

We also asked: please the check error logs of your (web) server and post the error message here. (virtualmin still works, right?

Whatever issue you're seeing should be easy to fix... just let us know what error you're seeing in the Apache error log, located in $HOME/logs/error_log, and then we'll help you get that straightened up.

Sat, 11/02/2013 - 22:34
Francewhoa's picture

- - -
Senior Product Manager, and Co-Founder at Ubertus.org Inc.
Love back your Virtualmin & Webmin community

Topic locked