简体   繁体   中英

Can't browse website in iis6

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM