httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaqui Greenlees <jaqui_greenl...@yahoo.ca>
Subject Re: [users@httpd] Indexing outside of DocumentRoot and Directory
Date Thu, 17 Aug 2006 05:12:00 GMT

--- LDB <thesource@ldb-jab.org> wrote:

> I have the following ..
> 
> 
> DocumentRoot "/srv/www/webroot"
> 
> <Directory "/srv/www/webroot">
> 
> ....STUFF
> 
> </Directory>
> 
> 
> and I am trying to allow
> 
> /srv/www/readit to be a directory that ONLY shows
> indexes. I have tried
> 
> Alias /readit /srv/www/readit
> <Directory /readit>
>          Options FollowSymLinks Indexes
>          AllowOverride None
>          Order Allow,Deny
>          Allow from all
> </Directory>
> 
> 
> but it will not work.
> 
> Here is the error ..
> 
> [Wed Aug 16 19:49:18 2006] [error] [client
> 225.117.79.221] client denied by 
> server configuration: /srv/www/readit
> 
> but the permissions are the following,
> 
> myserver:/srv/www # ls -al readit
> total 20
> drwxrwsr-x   4 wwwrun www 4096 2006-08-08 04:15 .
> drwxrwsr-x  40 wwwrun web 4096 2006-08-16 16:43 ..
> 
> 
> Any ideas?
>

yup, the owner of wwwrun is www, the owner of the
other wwwrun is web.
owners don't match.
that will error automatically.
the owner of the webroot and readit folders needs to
be the same, or accessable by the web server.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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