403 Forbidden on a Sub Dir

Zephillis
Zephillis used Ask the Experts™
on
Hello, this is odd to me, I am using RH 7.3 with Apache 1.3.23, I have the Auth Process setup where they have to login in order to get in the site, but I switched my root dir from /var/www/html to /hd2/html due to the fact that hd2 is a extra HD and I plan on posting alot of files, over 30GB to be exact, so the. I try to access the dir http://www.-----.com/Files/ and I receive a 403 error. Now if I make the folder under /var/www/html and point Apache to that dir as the root I can access it. what is it that I am missing here? I checked all the permissions and everything, I tried to make an Alias /Files/  /hd2/html/Files/ and I still receive the 403 error.

 I chmod 755 the Files dir and still same error, I read thru the Apache documentation on this and did what hey said but the docs are not all that great. and are vague. Thank you for any support or help at all.

Matt
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
403 is forbidden error.  Do you have index.html created.  Otherwise, add Options Indexes in the <Directory tag>

Alias /Files/  /hd2/html/Files/

<Directory "/hd2/html/Files/">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Author

Commented:
Thank-You Samri! That did it perfectly. Thanks Again

Commented:
Matt,

No. problem.

Tons of *reading* material on Apache at http://httpd.apache.org/docs/
http://httpd.apache.org/docs-2.0/

cheers.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial