Wordpress Options Error FollowSymLinks

I have a site setup in the my / httpdocs directory with its own htaccess, and I have a Wordpress blog in / httpdocs / blog using the standard wordpress htaccess

In my apache error log, I see the following error:

[error] [client #. #. #. #] The FollowSymLinks or SymLinksIfOwnerMatch parameters are disabled, which implies that the RewriteRule directive is not allowed: /var/www/vhosts/somedomain.com/httpdocs/blog/index.pl

I added "Options + FollowSymLinks" as this seems to fix the issue for others (but not for me)

The main .htaccess is as follows:

Wordpress.htaccess:

Options +FollowSymLinks # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php [L] </IfModule> # END WordPres 

I am also wondering why the error is reported as "index.pl" since there are no perl scripts in the / blog. So, after some searching, I found the httpd.include file (generated by plesk) in / var / www / vhosts / somedomain / conf / which contains some perl handler materials:

SetHandler perl- script PerlHandler ModPerl :: Registry Options ExecCGI allow all PerlSendHeader On

If I remove perl support through Plesk, thereby removing the above block of code, I will no longer receive errors.

The obvious answer would be to disable perl, since I don't need it, but should there be a way to fix this error without doing this?

+7
source share
1 answer

add to .htaccess

 Options FollowSymLinks 

done:)

+16
source

All Articles