Let say the situation is
- User type "http://siteA.com" without pagename or querystring in the browser's address bar then click "Go"
- IIS receives the request and redirect it to "https://siteB.com/page1.aspx?id=1234"
- IIS receives the response from "https://siteB.com/page1.aspx?id=1234"
- IIS rewrites the url to "http://siteA.com/home" so users will see this url in their address bars.
- At this state, any links on "http://siteA.com/home" must have http://siteA.com as domain name in URLs. Users should see the links like below links
http://siteA.com/page2.aspx http://siteA.com/page3.aspx
page1.aspx, page2.aspx, and page3.aspx are actually hosted on https://siteB.com
How many rewrite rules do I need? How to write those? How to set up ARR? Any working examples would be helpful.
https://stackoverflow.com/questions/67223884/how-to-mask-url-from-sitea-com-to-retreive-data-from-siteb-com-page1-aspxid-123 April 23, 2021 at 12:08PM
没有评论:
发表评论