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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -