UnixServerAdmin

Server Administration & Management

Client denied by Server Configuration

Here is the error inĀ  the Apache logs:-

mon nov 28 12:4:38 2011] [error] [client 223.143.133.66] client denied by server configuration: /home/<username>/public_html/index.php

Solution:- Create a .htacess file under the public_html directory of the problamatic account or comment the entry Deny from all in htaccess file

# touch /home/<username>/public_html/.htaccess

# vi /home/<username>/public_html/.htaccess
——————
<Files *.php>
Order Deny,Allow
#Deny from all
</Files>
——————

Try to reload the page now. Issue should be fixed.

November 1, 2011 Posted by | Apache, htaccess | , | Leave a comment