After recent update to webmin-virtual-server from 3.96.gpl to 3.97.gpl, I was offered to perform the following (which I did, the process log below):
Fix Symbolic Link Permissions
Updating all virtual servers to prevent unsafe symbolic links …
… fixed 1 domains
Applying web server configuration …
Searching for .htaccess files that use disallowed options …
… found 2 in 1 domains
Virtualmin can fix these .htaccess files by changing the FollowSymLinks option to SymLinksifOwnerMatch. Unless this is done, accessing those directories via their websites will fail due to the use of the disallowed option.
How can I revert this procedure? I tried to restore a backup but this does not help, probably there is some configuration option that needs to be changed.
Please help, I am a total newbie in Virtualmin and hosting allover…
Reverting to a backup should undo the changes made during the upgrade process.
What problem is it you’re having exactly?
If you’re receiving an error of some sort with one of your domains, what errors do you see in the log file located in $HOME/logs/error_log?
There is no error, just my website looks weird now, no images and strange alignment…
I did restore a backup but it did not help…
So I just want to revert this, but I do not know how.
Looks like I resolved that! Eric, thanks for pointing me to the right log-file!
The log file had the following alerts there:
/home/domain.com/public_html/.htaccess: Option FollowSymLinks not allowed here
/home/domain.com/public_html/media/.htaccess: Option All not allowed here
/home/domain.com/public_html/media/.htaccess: Option FollowSymLinks not allowed here
I just commented-out these option lines in the associated .htaccess files (which were automatically added after updating virtual servers to prevent unsafe symbolic links) and now the website is up and running again.
Super, I’m glad you got it working!
Hi Sergio, can you tell me specifically which lines you commented out? I believe I’m having the same problem but commenting out:
did not work? Thank you very much in advance!!
You need to review the error log file it will point out the file and lines that triggering the alerts.
Commenting out that option indeed helps, but at the same time causes other problems. Some discussion about this problem on http://drupal.org/node/105580, http://drupal.org/node/101197 and http://drupal.org/node/702106
I am pretty much pleased with your good work.You put really very helpful information.
At Academy Women’s Healthcare Associates, we are committed to providing our Colorado Springs OB /GYN patients with a private practice in gynecology and obstetrics that is complete, up-to-date and patient-friendly.
OBGYN Colorado Springs