This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
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.
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.
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.
Howdy,
Try changing that option to read "SymLinksIfOwnerMatch" instead of "FollowSymlinks", that should get things up and running again.
-Eric
I tried the following but still doesn't work
Options +SymLinksIfOwnerMatch -MultiViews RewriteEngine on
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.
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.
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.
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.
Solution at https://www.virtualmin.com/node/24753#comment-124082
- - -
Senior Product Manager, and Co-Founder at Ubertus.org Inc.
Love back your Virtualmin & Webmin community