httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] client denied by server configuration, but sometimes works and sometimes not!
Date Tue, 25 May 2010 08:33:50 GMT
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
user that apache runs as.

If it says "No such file or directory", then your HTML is referring to
an incorrect URL.

Cheers

Tom

---------------------------------------------------------------------
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