• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Stupid Apache! Directory listing problems.

#1
I have a directory on my D: drive called \path\to\directory. Apache2 is installed on my C: drive. What I want is to get a directory listing for D:\path\to\directory. I know that I can add a "Alias /directory "D:/path/to/directory/"", so that I can use http://localhost/directory.
So far so good, or is it? Because I get a 403 (Permission Denied) error everytime I go to the link. When I put a index.html file in that dir, Apache sends the index.html file to my browser. I can also put in a link to the index.html file, and I can download the file in that same dir ok.
When I create a directory in the htdocs folder (Apache root), I do see the dir listing. This only happens when creating a Alias symbolic link to another folder outside of the Apache root.

Please help me, and now that I am on the subject, does anyone know a simpler manual for Apache (2) than the one on Apache.org?
 
#2
Added:
Code:
<Directory "D:/path/to/dir/">
Options Indexes FollowSymLinks
IndexOptions +FancyIndexing +FoldersFirst
</Directory>
Now it works, after much googling.
 

Members online

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,013
Latest member
Pdawgintown