- Plesk 12.5 for Linux
A scheduled task on a WordPress site created using the
The following error can be found in the domain's error log
CONFIG_TEXT: [error] [client 203.0.113.2] client denied by server configuration: /var/www/vhosts/example.com/httpdocs/wp-cron.php, referer: http://example.com/wp-cron.php?doing_wp_cron=1234567890.1234567890123456789012
Where the 203.0.113.2 is the server's IP address.
.htaccessfile with the following content can found in the website's document root:
# cat /var/www/vhosts/example.com/httpdocs/.htaccess
deny from all
allow from 127.0.0.1
allow from 220.127.116.11
Access from the server's IP address is forbidden.
Perform one of the following actions to fix the issue:
Add the following line to the
CONFIG_TEXT: allow from 203.0.113.2
203.0.113.2with the real IP of the server.
deny from allline (add the '#' sign at the beginning of the line) in the
Note: The file can be edited from Plesk interface: Domains > example.com > File Manager > .htaccess > Edit in Code Editor.