Discussion Locked
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
Point value changed by question poster.
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.
The question was auto-closed by TechRepublic
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
The question was auto-closed by TechRepublic
This question was auto closed due to inactivity
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending
0 helpful
7 replies
0 helpful
6 replies
Question Locked
RE: How to fix the Docker and UFW security flaw
0 helpful
3 replies
Discussion Locked
Which Linux works best on old phone or tablet?
0 helpful
5 replies
Discussion Locked
My Job and Company
0 helpful
3 replies