I've pointed www.myoldsite.com to a new IP address, and that IP address hosts www.mynewsite.com on IIS8. I'm trying to reverse proxy some POSTs back to www.myoldsite.com via ARR but I'm not able to get it to match the Request URI pattern.
I have ARR enabled on www.mynewsite.com, and the "Proxy Type" is set to "Use URL Rewrite to inspect incoming requests". The Reverse Proxy is "www.myoldsite.com". Then I have URL Rewrite rule which matches a regular expression "(.*)" and has a condition which should match a REQUEST_URI with the pattern "MyOldForm.aspx". The action is set to redirect to www.myoldsite.com/{R:0}.
However, when I post to the url http://www.mynewsite.com/MyOldForm.aspx, I get a 404 error, meaning the pattern isn't getting matched.
I also tried setting the external site as a "server farm", and also setting up a rewrite rule in the site itself, but the rule isn't getting invoked in either of these cases. Any idea why this isn't working?