Reputation: 155
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?
Upvotes: 0
Views: 5064
Reputation: 155
Thank you for your answers.
I guess I have to use url rewrite and Application Request Routing.
Upvotes: 1