Plesk : Option FollowSymLinks not allowed here – How to fix

Wondering how to fix Plesk : Option FollowSymLinks not allowed here? We can help you.

Often Plesk users report to us that they get this error while trying to access their website from a web browser.

Here at Bobcares, we handle requests from our customers to fix similar errors as a part of our Server Management Services.

Today we will see how our Support Engineers fix this for our customers.

How to fix Plesk : Option FollowSymLinks not allowed here

Before going into the steps for fixing this error we can see what causes this error.

A typical error seen in the logs of Plesk is given below:

[core:alert] /var/www/vhosts/example.com/httpdocs/.htaccess: Option FollowSymlinks not allowed here
--------------------------------------------------------------------
[core:alert] /var/www/vhosts/example.com/httpdocs/.htaccess: Option All not allowed here
Cause for the error:

When the option Restrict the ability to follow symbolic links is enabled in the Apache & Nginx Settings of the websites we may end up with this error.

Steps to fix “Option FollowSymLinks not allowed here”

1. First, log in to Plesk.

2. Then go to Domains and choose the website.

3. From there choose Apache & nginx Settings and disable the option Restrict the ability to follow symbolic links.

For multiple domains we can do the following:

1. Firstly connect to a Plesk server via SSH.

We can run either of the following commands:

To enable the option “Restrict the ability to follow symbolic links”:

# for i in `plesk bin site --list`; do plesk bin subscription --update-web-server-settings $i -apache-restrict-follow-sym-links true; done

To disable the option “Restrict the ability to follow symbolic links”:

# for i in `plesk bin site --list`; do plesk bin subscription --update-web-server-settings $i -apache-restrict-follow-sym-links false; done

[Need assistance? We can help you]

Conclusion

In short, we saw how our Support Techs fix “Plesk : Option FollowSymLinks not allowed here” for our customers.

The post Plesk : Option FollowSymLinks not allowed here – How to fix appeared first on Bobcares.