Website shows Internal Server Error: Option All not allowed here

Created:

2017-02-08 23:35:36 UTC

Modified:

2017-08-08 13:42:00 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Website shows Internal Server Error: Option All not allowed here

Applicable to:

  • Plesk Onyx for Linux

Symptoms

  • Internal Server Error is shown when trying to access a website.
  • .htaccess file is used on a website with the directive Options All inside of it.
  • The option Restrict the ability to follow symbolic links is enabled at Domains > example.com > Apache & nginx Settings .
  • The following error could be found at /var/www/vhosts/system/example.com/logs/error_log :

    [core:alert] [pid 78775:tid 139848832775936] [client 203.0.113.2:46188] /var/www/vhosts/example.com/httpdocs/.htaccess: Option All not allowed here
    

Cause

When the option Restrict the ability to follow symbolic links is enabled, the following lines are added to a virtual host configuration file /var/www/vhosts/system/example.com/conf/httpd.conf :

    <Directory /var/www/vhosts/example.com>
    Options -FollowSymLinks
    AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,SymLinksIfOwnerMatch,ExecCGI,Includes,IncludesNOEXEC
</Directory>

With the directive AllowOverride they are limiting the list of options which are allowed to override in a virtual host.

Resolution

Disable the option Restrict the ability to follow symbolic links at Domains > example.com > Apache & nginx Settings .

Have more questions? Submit a request
Please sign in to leave a comment.