Re: Problem seeing directory outside of APACHE_HOME

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

 



alias /releases "/data/holding"
<Directory /data/holding>
   Options All FollowSymLinks Indexes MultiViews
   AllowOverride All
   Order allow,deny
   Allow from all
</Directory>

I put this in my /etc/httpd.conf. I made a directory tree in root of:
/data/holding containing 2 files with permissions 755.

After restarting Apache I was able to browse to 
http://www.mywebsite.net/releases. But not with permissions of 744 which I 
found curious being that I am able to view a web page in my web root which is 
a php file with permissions 644. I suppose it has to do with the way Apache 
handles URI to filesystem mapping or even the alias possibly.

Make sure you have restarted your server and that the necessary modules are 
loaded. Which if they weren't Apache would surely complain on a restart.

Hope this helps in some way or another.

On Monday 18 February 2008 06:39:09 pm David Bartmess wrote:
> I'm trying to let the users view a directory's contents that is located
> outside of /var/www/html.
>
>
>
> I've also tried using an .htaccess file with "Options +Indexes" in it in
> the root directory of the desired listing.
>
>
>
> I added the following to my httpd.conf
>
>
>
> Alias /releases "/data/holding"
>
>
>
> <Directory "/data/holding">
>
>     AllowOverride All
>
>     Options All Indexes FollowSymLinks MultiViews
>
>     Order allow,deny
>
>     Allow from all
>
> </Directory>
>
>
>
> I've even chmod'd the files to 777 (I know, bad, but I had to try)
>
>
>
> But all I get when I go to http://myserver.com/releases is a 403 Forbidden
> page.
>
>
>
> Can someone help me???
>
>
>
>
>
>
>
> David Bartmess. Configuration Manager
>
> Cell:   +1 (303) 883-9117
>
> Office:+1 (303) 256-5123



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