asp.net - IIS 8.5 URL ReWrite -


i have asp.net application hosted on 2 servers.

server 1 : http(s)://server1.domain.com

server 2 : http://server2.domain.com

now have write url rewrite rule "http" requests coming server1 should redirected server2 "https" requests coming server1 should handled server1 self.

thanks in advance help...

try using following url rewrite rule:

<rule name="redirect http" stopprocessing="true">   <match url="https://*.server1.domain.com/(*)" />   <action type="redirect" url="http://server2.domain.com/{r:1}" redirecttype="seeother" /> </rule> 

Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -