- Plesk for Linux
- The website shows the following error:
CONFIG_TEXT: 403 Forbidden
- The log file
CONFIG_TEXT: AH01797: client denied by server configuration: /var/www/vhosts/example.com/index.php
- There is a
/var/www/vhosts/example.com/httpdocs/.htaccessfile that contains strings like this:
CONFIG_TEXT: Deny from all
Deny from all
forbids access to the website from all IP addresses.
- Connect to the server via SSH;
- Open file
/var/www/vhosts/example.com/.htaccessin text editor;
- Add the "#" sign before the directive
Deny from all.