How do I fix the Apache error "client denied by server configuration"?
- by explorex
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?