Hi, I am trying to figure out the best way to do this. I am using ARR with 2 content servers. Server1 is a windows 2000 box and Server2 is a windows 2008 box...I am wanting to use URL rewrite to redirect all requests for .NET applications to Server2 and everything else to Server1. I don't think there is any way to do this other than using a regular expression against the request_uri. I am currently routing all requests to Server1 and am creating a separate rule for each .NET application and routing it to Server2.
If the request_uri is the only way I can do this, is there a way I can use a rewrite map instead of creating an individual rule for each application I want routed to Server2? I don't think I can reference a rewrite map in the pattern of a condition...for example:
create a rule using a rewrite map...add one condition and set the pattern to \b{RewriteMap:{REQUEST_URI}}\b