简体   繁体   中英

Simple iis rewrite doesn't work

This is what I'm doing in iis manager:

iis - url rewrite -> Add rule ->

Action type : rewrite

Pattern : MySite.com (Exact match)

Rewrite url : MySite.com/Folder1/Default.aspx

So how do I return the Default.aspx page while maintaining the MySite.com in the address bar?

OK. So I found the answer:

Only the part after the domain name and trailing slash should be entered.

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