troubleshooting Question

How do I disable directory listing in Apache2

Avatar of easiwriter45
easiwriter45 asked on
Apache Web ServerMac OS X
16 Comments1 Solution454 ViewsLast Modified:
I just upgraded my Mac OS Tiger system to Leopard and it screwed up the Apache configuration. I've managed to reconfigure it so that everything works as before apart from one thing. If I send a page request such as http://localhost/myuser/sitename and there is no index.html (or one of the others for DirectoryIndex) then it returns a listing of the directory. It didn't do this before and I can't turn it off no matter what I try.

Can someone who understands Apache sort me out please.
ASKER CERTIFIED SOLUTION
Paulo Pimenta
Project Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 16 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 16 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros