I have a aspx website in IIS7, with a virtual folder in the root (called ' app '), which is another aspx application.
I want www.main.com/section to show contents from www.other.com/page . However, www.main.com/section/app , I want to ignore the previous redirection (it will virtual folder contents).
I can't get this to work. This is what I have:
<rule name="Landing page" enabled="true">
<match url="landing" />
<action type="Rewrite" url="http://www.other.com/page" />
</rule>
Is this possible?
Thank you for your answers.
I guess I have to use url rewrite and Application Request Routing .
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.