When I browse my website it shows me a directory listing instead of web pages:
How do I stop this happening?
Looks like you've got Directory Browsing turned on:
Open the site properties and select the Home Directory tab. Uncheck "Directory Browsing".
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 .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.