Lanston
Lanston

Reputation: 11844

Can't browse website in iis6

When I browse my website it shows me a directory listing instead of web pages:

enter image description here

How do I stop this happening?

Upvotes: 0

Views: 1564

Answers (2)

Troy Hunt
Troy Hunt

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

Kev
Kev

Reputation: 119806

Looks like you've got Directory Browsing turned on:

enter image description here

Open the site properties and select the Home Directory tab. Uncheck "Directory Browsing".

Upvotes: 1

Related Questions