Re: Permission denied on sub directories for one VirtualHost

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

 



On Wed, 2008-05-28 at 13:31 +0200, Norman Khine wrote:
> I have this as the permissions:
> 
> ls -al css/
> total 24
> drw-r--r-- 2 apache apache  4096 May 28 19:15 .
> drwxr-xr-x 5 apache apache  4096 May 28 19:50 ..
> -rw-r--r-- 1 apache apache 14817 May 28 19:15 style.css

So the css/ directory has octal perms of 0644. Not good - Apache cannot
search in there (it needs the "x", or 1, to be able to do so).

> But is the same as the DocumentRoot, which works fine.

It isn't the same.

> ls -al htdocs | more
> total 2928
> drwxr-xr-x 5 apache apache  4096 May 28 19:50 .

The docroot has 0755.

"chmod 0755 css" should fix it.

Graeme


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