Setting YouTracks default URL path?

Hi there,

So I am running Youtrack in Tomcat 7, and I have a proxy set up to the youtrack instance from Apache.  I noticed that youtrack looks for resources in http://www.example.com/youtrack/ by default, is there a config file that can change this "/youtrack" url path? I am getting around it with a URL rewrite in Apache, but I would really like to know if there is some other way :-) Thanks beforehand!

---

Original message URL: http://devnet.jetbrains.net/message/5446509#5446509

2 comments
Comment actions Permalink

Lukas,

If you'd like to remove /youtrack prefix at all, then the easiest way is to rename youtrack.war to ROOT.war and deploy it.

Another option is to an create additional xml configuration file with content <Context path="/yourpath" /> and put it in $CATALINA_BASE/conf/[enginename]/[hostname]/

More details may be found here: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Defining_a_context

0
Comment actions Permalink

Lukas,

If you'd like to remove /youtrack prefix at all, then the easiest way is to rename youtrack.war to ROOT.war and deploy it.

Another option is to an create additional xml configuration file with content  and put it in $CATALINA_BASE/conf/[enginename]/[hostname]/

More details may be found here: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Defining_a_context

---

Original message URL: http://devnet.jetbrains.net/message/5446916#5446916

0

Please sign in to leave a comment.