httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sean kibler <skibler1...@gmail.com>
Subject Re: [users@httpd] Problem seeing directory outside of APACHE_HOME
Date Tue, 19 Feb 2008 00:26:01 GMT
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@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