Re: client denied by server configuration, but sometimes works and sometimes not!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 25, 2010 at 5:54 AM, Mario Mol <mariohmol@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux