Ok so the trick was with this rewriteRule : ^(.*)/youtrack/(.*)
, Thanks man you really helped me. Only i have to rewrite to localhost:81/{R:2} then. Also as Malvin said there is a par wher you have to enable Application request routing in hidden menu and that was whole trick.
IIS 8 and ARR with multiple other servers
-
03-06-2022 - |
سؤال
I am trying to setup IIS 8 with ARR and Url rewrite 2 module to work with two other servers (running Youtrack and TeamCity) and it just dont work...
Lets say my server have following URL: server.test.domain.com (i have no control about this part) so i want to 3 web sites:
server.test.domain.com -> default web site in IIS (classic web)
server.test.domain.com/youtrack -> Catalina with Youtrack
server.test.domain.com/teamcity -> Catalina with TeamCity
on server when i look on localhost:81 i have working Youtrack and on localhost:82 i have TeamCity also workin OK.
I followed this tutorial: http://blogs.endjin.com/2010/11/a-step-by-step-guide-to-hosting-teamcity-in-iis-7/
but in last part he url rewrite it on some domain name and i dont know what URL rewrite RULE i have to use to make it work my way.
المحلول
لا تنتمي إلى StackOverflow