IIS URL Rewrite root only -
i have 2 urls http://test.mysite.com (1) , http://test.mysite.com/app (2)
i redirect requests (1) www.othersite.com when (2) shuld not redirected.
is possible url rewrite using regex?
br
yes, possible url rewrite module. rule looks that:
<rule name="redirect non app" stopprocessing="true"> <match url="^app(.*)" negate="true" /> <action type="redirect" url="http://www.othersite.com{request_uri}" /> </rule>
Comments
Post a Comment