Re: [users@httpd] Indexing outside of DocumentRoot and Directory

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

 



--- LDB <thesource@xxxxxxxxxxx> 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@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