Discussion Locked

UNIX/Apache Viewing

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have FreeBSD 4.4 running with Apache 1.3.26. Everything works fine except for seeing directory structure. For all users of the machine, you cannot see their directory structure if no index.html file is present in their public_html folder. For insatance if I tried to navigate to http://servername.com/~user, I would get the message "Forbidden You don't have permission to access /~user/ on this server. Please HELP!! Thanks in advance!!

7 replies

by cpfeiffe

If you are trying to navigate to somewhere that is not the Apache root you need to make sure the OS permissions will allow Apache to do so. Apache by default runs as nobody user and nogroup group which means you will have to be sure that the permissions are at least 755 rwxr-xr-x on the folder and all of the parent folders of the location you are trying to navigate to. Good luck.

by techrepublic

There is an option in the apache config file, which is fairly obvious, that needs to be set. (I can't remember offhand which one it is though).

Many people disable user dir listings for security reasons.

by paulo.sedrez

Assuming the home directories are /home/:

Options Indexes

Check the convenience of other options.

--Sedrez

This discussion is closed to new replies.