Guys,
i think that i've solved the problem.
I created a file /etc/apache2/mods-enabled/mod-evasive.conf containing:
<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 500
DOSSiteCount 300
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 50
DOSSystemCommand "%s > /home/mario/teste"
DOSEmailNotify [email protected]
DOSLogDir "/var/lock/mod_evasive"
</IfModule>
Wow, i was getting crazy with that error!
Thanks all for your attention.
Cheers,
On 25 May 2010 10:27, Mario Mol <[email protected]> wrote:
> All right, so what can i do to check it?
>
> I found out that this file doesnt exists and there are a plenty of files in
> website that reffer to a file that doest no exits.
>
> So on error.log shows a lot of file not found but sometimes shows a lot of
> client denied by server
> configuration, and at this time can happen Forbidden on users browser.
>
> Any ideias?
>
>
> On 25 May 2010 09:26, Eric Covener <[email protected]> wrote:
>
>> On Tue, May 25, 2010 at 4:33 AM, Tom Evans <[email protected]>
>> wrote:
>> > On Tue, May 25, 2010 at 5:54 AM, Mario Mol <[email protected]> wrote:
>> >> Well,
>> >>
>> >> i`ve done apt-get update , so its all fresh new.
>> >>
>> >> Could this be related to some of security mods? For example,
>> mod-security,
>> >> qos, psad?
>> >>
>> >> Cheer,s
>> >>
>> >
>> > In order to serve a file, apache must be able to access it. Since your
>> > configuration looks correct, try this as root:
>> >
>> > su -m www -c 'ls -l
>> > /var/www/sites/dtc/
>> gemt.com.br/subdomains/www/html/imagens/layout/fundo_topo.gif'
>> >
>> > Change www for the user you run apache as.
>> >
>> > If the output from this says "Permission denied", then you either the
>> > file or a directory in the path to the file is not accessible to the
>>
>> Errors of this type are never reported as "client denied by server
>> configuration" -- that refers to Apaches configuration itself, not
>> filesystem permissions / SELinux.
>>
>> --
>> Eric Covener
>> [email protected]
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: [email protected]
>> " from the digest: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>