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!

403 error because I do not have an index.html file in directory

Status
Not open for further replies.

jimoblak

Instructor
Oct 23, 2001
3,620
US
I am running Apache 2 on WinXP. I want to show the contents of a directory within the htdoc root ( I did not include an index.html file so that all files would display as a list. Unfortunately, I am getting a 403 error: You don't have permission to access /somedirectory/ on this server.

Previous Apache distributions seemed to default to showing these contents.

I scanned the httpd.conf file but could not find where it allowed or prevented directory browsing.

Can someone give me a clue where to tweak this to allow directory browsing?



- - picklefish - -
 
Thanks for the tip but it turned out that I forgot to define <Directory &quot;C:/WebDocs&quot;> the same as the DocumentRoot &quot;C:/WebDocs&quot; - - which had made everything wacky.

- - picklefish - -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top