PHP pages are not accessible: 403 Forbidden

Created:

2016-11-16 13:11:58 UTC

Modified:

2017-08-08 13:15:51 UTC

0

Was this article helpful?


Have more questions?

Submit a request

PHP pages are not accessible: 403 Forbidden

Applicable to:

  • Plesk for Linux

Symptoms

 Cannot access PHP pages:

403 Forbidden

Cause

Invalid rewrite rules specified in domain .htaccess file.

Resolution

1. Enable rewrite rules debug in /var/www/vhosts/system/example.com/conf/httpd.conf by adding the section below:

2. RewriteEngine OnRewriteLog "/var/log/httpd/rewrite.log"RewriteLogLevel 9

3. Restart or reload apache web server.

4. Analyze /var/log/httpd/rewrite.log to find failed rule.

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