Hey =)
So ive been trying to do some urlrewriting with a twist, I have to rewrite to another domain in this case. So ive setup a local test scenario.
http://main/ (the main site that should answer the requests)
http://old.main/ (the site that should handle the rewritten pages)
So the thing is this site is going live with only 2 languages and the last 10 langs are being rewritten to be on the old site(both new and old solution is running on the same server) until data is ready.
So ive setup my IIS with url rewrite 2.0 and ARR. ARR has enebled proxy so it should be able to handle requests to other domains.
My rewrite rule is like this :
<rule name="demo">
<match url="^(fi|en|de|fr|it|nl|no|es|se|ch)/(.*)" />
<action type="Rewrite" url="http://old.main/en/about.aspx" />
</rule>
So when i request http://main/en/about.aspx it should just return me http://old.main/en/about.aspx instead.
And everything seems awesome, ive installed the Adv. IIS logger so I can see the request going through.
The rewrite rule works but somehow umbraco catches the request and takes over.
here is an image from the log showing whats happening :
Anyone got an idea how to get around this ?
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/39460-using-iis-url-rewrite-and-arr-reverse-proxy-to-other-domain-with-umbraco
