• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Mod Rewrite issue

LloydD

Basic Pleskian
Hi guys,
I think this is fairly simple but I just wanted confirmation, I keep getting this error..

Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/my-domain.com/httpsdocs/folder/index.pl

I tried this - http://www.vbseo.com/f77/options-fo...mplies-rewriterule-directive-forbidden-30144/

Specifically this ..
<Files ~ (\.pl)>
Options ExecCGI FollowSymLinks
</Files>

Options +FollowSymLinks +SymLinksIfOwnerMatch

But that was already there in an htaccess file in /var/www/vhosts/my-domain.com/httpdocs

The only other reference I can find is in the /var/www/vhosts/my-domain.com/conf/http.include

<Directory /var/www/vhosts/my-domain.com/httpsdocs>
<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>

Should I add the "FollowSymLinks" here so "Options ExecCGI FollowSymLinks"
Is that right?
I am running Ubuntu 8.04 and Plesk 9.5.4.
Thanks in advance for any help
Kind regards

Lloyd
 
Back
Top