Reputation: 11844
When I browse my website it shows me a directory listing instead of web pages:
How do I stop this happening?
Upvotes: 0
Views: 1564
Reputation: 20387
If you're seeing a directory listing rather than the Default.aspx page being loaded up then you're missing "Default.aspx" as a default document. Check out Setting Up Default Documents in IIS6.
Upvotes: 0
Reputation: 119806
Looks like you've got Directory Browsing turned on:
Open the site properties and select the Home Directory tab. Uncheck "Directory Browsing".
Upvotes: 1