I would like to know how to use Application Request Routing and IIS Rewrite to rewrite a URL like this:
The other website URL is like this:
I'm using Windows Server 2008 R2, IIS 7.5, Application Request Routing Module and IIS Rewrite Module.
I can get it to work with a default Reverse Proxy rule so that requests to http://test.ca
display the contents of the website http://plposweb.ca
I'm unsure how to refine this further so it will only perform the Reverse Proxy rewrite for requests to http://test.ca/doing-business/licenses-and-permits/apply-for-a-permit-or-license/
and display the contents from http://plposweb.ca/DEL/LMSPublic/
without changing the original URL.
Do I add Conditions to the rule or change the default pattern (.*)? Specific examples would be very much appreciated. I've looked at the IIS support website but I can't find examples for my particular situation.