Apache Error Client Denied By Server Configuration

I got tons of these errors:

Wed Aug 10 07:37:04 2011] [error] [client] client denied by server configuration: /home/***/public_html/foorumi/public/style_emoticons/index.php

I edited this:


<Directory /home/***/public_html>
Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI
allow from all
AllowOverride All


<Directory /home/***/public_html>
Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI
Order allow,deny
Allow from all

Is that safe and good edit? I found that via Google

Blah, that didnt fix the problem…


You may want to make sure that there’s no .htaccess files in any of the dirs leading up to “/home/***/public_html/foorumi/public/style_emoticons”. It’s possible there’s a .htaccess file in there somewhere that’s causing the errors you’re seeing.


There are htaccess:

<Files ~ "^.*\.(php|cgi|pl|php3|php4|php5|php6|phtml|shtml)">
    Order allow,deny
    Deny from all

But i have them in another dirs too and they dont give errors.

Well, you requested “index.php” from the style_emoticons directory, and the .htaccess in that directory forbids that. :slight_smile: So I suppose either the .htaccess is incorrect, or you’re not supposed to fetch index.php from that directory. Maybe a hacker attack?