Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Error: Client denied by server configuration  (Read 2407 times)

0 Members and 2 Guests are viewing this topic.


  • Guest
Error: Client denied by server configuration
« on: November 28, 2018, 10:00:51 pm »
The following error can be found in /var/www/vhosts/

[access_compat:error] [pid 13317:tid 140073563543296] [client] AH01797: client denied by server configuration: /var/www/vhosts/


Apache 2.4 is installed, but the file .htaccess contains authorization and authentication entries with syntax from the 2.2 version.

In Plesk Interface:

1. Log into Plesk.
2. Go to Domains > > File Manager and click on the name of the file .htaccess.
3. Replace the directives as follows:

    Order allow,deny
    Allow from all

    Require all granted

Click OK or Apply to save the changes.



1. Connect to the server using SSH.
2. Open the file /var/www/vhosts/ for editing.

Change the following entries:
   Order allow,deny
   Allow from all
   Require all granted