Apache Error Client Denied By Server Configuration

I got tons of these errors:

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

I edited this:
/etc/apache2/sites-available/***.net.conf

Was:

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

Now:

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

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

Blah, that didnt fix the problem…

Howdy,

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.

-Eric

There are htaccess:

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

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?