Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

Rewrite conditional subdirectory to another domain keeping subdirectory

$
0
0

Hello. I'm using a load balanced mix of IIS 7.5 and 10 web servers.

I want to redirect any url that is going from one domain1.example.com/eweb to domain2.example.com/eweb. It has to only match the subdirectory of eweb for example.

I need to keep any parameters, query string, etc after the /eweb directory

Example:

domain1.example.com/eweb/startpage.aspx?randomstrings

redirect to 

domain2.example.com/eweb/startpage.aspx?randomstrings

thanks


Viewing all articles
Browse latest Browse all 2482

Trending Articles



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