An attempt to open site fails with:
Forbidden You do not have permission to access this document.
The following error appears in the
Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/example.com/httpdocs/cgi-bin/index.pl
mod_rewrite module is activated and the
The root cause of the issue is enabled Perl for the site.
When Perl is enabled the following strings appear in apache configuration file of the site:
<IfModule mod_perl.c> <Files ~ (\.pl$)> SetHandler perl-script PerlHandler ModPerl::Registry Options ExecCGI allow from all PerlSendHeader On </Files> </IfModule>
As can be seen the only specified option is
ExecCGI, it overwrites all the options specified in site
Disable Perl for the site.