Custom PHP page in wp-content cannot be browsed: client denied by server configuration

Created:

2017-03-09 02:13:02 UTC

Modified:

2017-08-08 13:45:53 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Custom PHP page in wp-content cannot be browsed: client denied by server configuration

Issue

Accessing PHP page inside wp-content folder fails with error:

[authz_core:error] client denied by server configuration: /var/www/vhosts/domain.tld/wp-content/process.php

 

Resolution

Uncheck "Security of the wp-content folder" in Plesk->domains->domain.tld->Applications->Wordpress application.

Execution of PHP files in the wp-content directory will be forbidden in the server configuration file, it this option is enabled.

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