Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Directory Listing with SSL

Status
Not open for further replies.

JonnyFlash

Technical User
Jan 31, 2005
3
DE
Hello,

i´m using a apache 1.3.31 with ssl on a gentoo system. The HTTP and HTTPS are located in different DocumentRoot directorys.
HTTP = /htdocs/htdocs/
HTTPS = /htdocs/ssldocs/
In both sections i can do a directory listing of an empty folder in my webbrowser. If i make a link in my HTTPS section from a folder outside of the DocumentRoot (/var or /home) so i get a "Forbidden" when i try to enter this folder in my browser. For the directory listing function in my SSL-section i had add following code in my httpd.conf:

Code:
<Directory /htdocs/ssldocs>
Options Indexes MultiViews
Order allow,deny
Allow from all
</Directory>

Can anybody tell me why it is "FORBIDDEN" ?? The same thing in my HTTP-section works fine.

Greetings
 
Hi,

I have had a verry similar problem a feew months ago (I'll never forget).
After on day(maybe more) of reading/testing, I have found the problem:
- if the owner of the link is not the same user with the owner of the directory/file on which the link points, I have receive the `Forbiden...'

Maybe you have the same problem.


HTH

___
____
 
Hello Predamarcel,

i had test it with the same user, but without success.

But, Thx
Greetings
 
In that case, you should check your:
<Directory / >

# Look for
# Order ...
# Allow from ...
# Deny
# settings

</Directorty>

Probable you(your server) dont have acces to those folders.


PM

___
____
 
OK

That was my mistake - i have forgotten the "FollowSymLinks" Option - you can see above in the codelisting.
Sorry and
Thank You

Greetings
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top