Context Path on Youtrack 6

Is there any way to set the context path on youtrack (any installation type...)  I was running the WAR on tomcat behind an apache proxy and could do this easily.   I tried the MSI and routing my reverse proxy to 8081, but haven't had any luck.  I want to run youtrack at http://server/youtrack.  With tomcat it was as easy as:

youtrack.war  (+)

RewriteRule ^/youtrack$ youtrack/ [R]  (+)

ProxyPass /youtrack/ http://server:8080/youtrack/
ProxyPassReverse /youtrack/ http://server:8080/youtrack

I haven't been able to get anything like it (MSI + 8081 rule) to work...
6 comments
Comment actions Permalink
Hello,

I was able to set the context for youtrack app (using zip distribution) by adding the following line to the

apps/youtrack/service.properties
... 
context=/youtrack
...
prettyPrint();
but that is something that seems to work only at the first glance...
the app starts and you can login and etc... but many things are broken (rest, user management links...)
I generally tried to play with other .properties files but with no success

youtrack guys, please help us :)
0
Comment actions Permalink
Yeah, tried .properties on the zip install today... same deal, setting up my reverse proxying on /youtrack, /hub and some others seems promising, but there are lots of little broken bits once you start clicking around.
0
Comment actions Permalink
Hello, @jetbrain what is the right way to config an other context?
0
Comment actions Permalink
Ok, here is the answer i got from youtrack staff:

Currently, there is no ability to set context at the moment, will be available with the next bug fix release. Plealse stay tuned!


that settles it for now I think.
0
Comment actions Permalink
Hi @jetbrains.

I'm using the zip distribution and want to know if you have any information about when this feature will be available.

Cheers.
0
Comment actions Permalink
Hi @jetbrains,

I saw that it is already possible to set a contextPath and a port in the JAR distribution.
https://confluence.jetbrains.com/display/YTD6/Installing+YouTrack+with+JAR+Distribution


I've just installed build 12463 (zip distribution) but I can't find anything.  

Is this problem already solved? If not, when can we expect this feature in the .zip distribution.
0

Please sign in to leave a comment.