Apache Error Client Denied By Server Configuration

5 posts / 0 new
Last post
#1 Wed, 08/10/2011 - 01:20
Owdy

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

Wed, 08/10/2011 - 03:24
Owdy

Blah, that didnt fix the problem...

Wed, 08/10/2011 - 10:04
andreychek

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

Wed, 08/10/2011 - 10:08
Owdy

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.

Wed, 08/10/2011 - 12:35
Locutus

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

Topic locked