httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Khine <nor...@khine.net>
Subject Re: [users@httpd] Permission denied on sub directories for one VirtualHost
Date Wed, 28 May 2008 13:17:04 GMT
Thank you, that was it, I think I need to go and change my glasses ;)

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


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