How do I fix the Apache error "client denied by server configuration"?
Posted
by
explorex
on Server Fault
See other posts from Server Fault
or by explorex
Published on 2011-02-02T15:11:18Z
Indexed on
2011/02/02
15:27 UTC
Read the original article
Hit count: 263
I am using cPanel and Apache, and I am seeing the following error in my error_log
:
[Wed Feb 02 09:06:04 2011] [error] [client 110.34.4.242] client denied by server configuration: /home/websmart/public_html/.htaccess
My project is based on PHP 5.3 using the zend framework. My .htaccess
file contains:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
Can anyone tell me what causes this error and how should I alter my .htaccess
file to resolve this?
© Server Fault or respective owner