Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Setup Reverse Proxy for two sites from thrid

$
0
0

HI, 

I have been working to get our Azure site to support two other sites running on other web services (one being a WordPress site) I have been able to get the Reverse Proxy to work (except for the Outbound Rewriting which I am still working on.  I have used this site and a guide to help me set this up: http://blogs.msdn.com/b/carlosag/archive/2010/04/02/setting-up-a-reverse-proxy-using-iis-url-rewrite-and-arr.aspx

But... How can I setup a second site?  In this example there are two outbound rewrite rules.  The first handles absolute paths and the second handles relative paths.  If I have TWO sites that I am running through this revers proxy (say company1 and company2 like the example), how do I setup two outbound rewrite rules to handle the respective relative paths?

And perhaps an even larger problem, what if the local asp.net site uses relative paths?  Will those also be rewritten based on the company1 or company2 outbound rewrite rule?

 My Map:

http://www.mysite.com/*other-part-of-URL    -> goes to my local asp.net site
http://www.mysite.com/company1/*other-part-of-URL  -> goes to another server hosting a wordpress sit
http://www.mysite.com/company2/*other-part-of-URL  -> goes to another server hosting another site

 

Thanks for any advice you can offer!


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>