Re: [users@httpd] Trying to access directory index outside doc root

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

 



On Apr 6, 2005 1:51 PM, Robert Zagarello <bzag0@xxxxxxxxx> wrote:
> 
> Kevin wrote:
> 
> >Hello,
> >
> >My document root is /var/www/html and I'm trying to
> >show a directory index of all of the files in
> >/home/kdo/working/excessinv on the same server.
> >
> >I've tried all variations of the configurations below
> >and haven't had any luck.  I'm running 1.3.27 on a RH
> >7.3 server.
> >
> >Alias /excessinvarch/ /home/kdo/working/excessinv
> >
> ><Directory "/home/kdo/working/excessinv">
> >    Options +Indexes FollowSymLinks
> >    Order allow,deny
> >    Allow from all
> ></Directory>
> >
> >Can anyone tell me what I'm doing wrong?
> >
> >Any help is appreciated!
> >--
> >Kevin Old
> >kevinold@xxxxxxxxx
> 
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> Kevin,
> 
> My apache config file shows the realname enclosed in
> quotes with a terminating slash in the Alias
> directive, so try:
> 
> Alias /excessinvarch/ "/home/kdo/working/excessinv/"
> 

Thanks for your help.  I think that the problem is file system
permissions.  My Apache processes are running as user and group
"apache", but the data under /home/kdo/working/excessinv is (of
course) owned by user "kdo".

One "fix" is to set all the permissions on my directories under
/home/kdo to 777.  It's insecure though.  Isn't there a way to tell
apache who own's a certain directory?  Maybe with the user and group
commands in a <Directory> block?

Any help is appreciated!
Kevin
-- 
Kevin Old
kevinold@xxxxxxxxx

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