httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] client denied by server configuration, but sometimes works and sometimes not!
Date Tue, 25 May 2010 12:26:52 GMT
On Tue, May 25, 2010 at 4:33 AM, Tom Evans <tevans.uk@googlemail.com> wrote:
> On Tue, May 25, 2010 at 5:54 AM, Mario Mol <mariohmol@gmail.com> 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
covener@gmail.com

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message