Article ID: 6053, created on Feb 18, 2009, last review on Aug 12, 2014

  • Applies to:
  • Plesk 9.0 for Linux/Unix


In Parallels Plesk Panel 9.0 some Web Application is installed to document root (/) on domain DOMAIN.TLD through {Domains -> DOMAIN.TLD -> Web Applications}.

When set PHP to run as FastCGI application for the domain {Domains -> DOMAIN.TLD -> Web Hosting Settings -> PHP support} the domain generates error 403 when access it via http://DOMAIN.TLD or http://DOMAIN.TLD/index.php.

You don't have permission to access /index.php on this server.

And the following error is shown in domain's apache log $HTTPD_VHOSTS_D/DOMAIN.TLD/httpdocs/statistics/logs/error_log:

[Thu Feb 19 08:46:29 2009] [error] [client] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: $HTTPD_VHOSTS_D/DOMAIN.TLD/httpdocs/index.php


The problem is caused by rewrite engine that is enabled for the domain during installation of the Web Application.

<IfModule mod_rewrite.c>
  RewriteEngine on

To resolve the problem you should switch off rewrite engine in .htaccess (RewriteEngine off).

The problem is fixed in next update of Parallels Plesk Panel that is released after version 9.2. It allows to have rewrite engine enabled when PHP runs as FastCGI application.

Hotfix for version 9.0.1 is attached. To install it you should download the archive and unpack it with tar -zxf.
In resulted directory find file websrvmng appropriate to your operating system and architecture.
Replace existent file websrvmng with one you have found.
Location of the file is /usr/local/psa/admin/sbin/websrvmng for RedHat family and /opt/psa/admin/sbin/websrvmng for Debian family.

Please remember to correct ownership and permissions. It should be root:psaadm, 550.
You may correct permissions with commands chown and chmod. For example:

~# chown root:psaadm /usr/local/psa/admin/sbin/websrvmng
~# chmod 550  /usr/local/psa/admin/sbin/websrvmng

After the hotfix is installed you should re-generate Apache configuration files for all domains. Do that with the command below.

~# /usr/local/psa/admin/sbin/websrvmng -av


4f57df935e9acf8d18830757d2346419 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 6ef0db7f1685482449634a455d77d3f4 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF