Client denied by server configuration :
[Sun Dec 07 14:04:38 2009] [error] [client 127.0.0.1] client denied by server configuration: /home/username/public_html/catalog/admin/index.php
If you get this error then you need to check the .htaccess file under the respective directory (here catalog/admin) and there you need to comment the rule “Deny from all”
#Deny from all
That’s all this will do it.
If you want to enable some php related settings by using php.ini file and reflect it to all directories under your account. Then follow the steps..
First create a php.ini file under the document root of your domain and change or add the default settings which you want or which is required for your domain.
for example :
allow_url_fopen = On
allow_url_include = On
then you need to add the following code in your .htaccess file. So you dont need to copy the php.ini file under each directories for changes to reflect.
SetEnv PHPRC “/home/username/public_html”