subdirectory in url

Hello.

I'm installing youtrack on linux machine under apache+mod_proxy.
Everything works okay except that I want to run youtrack under subdirectory (http://example.com/youtrack)
I've tried rewriting urls with apache, but with problems (images, js, xjqr are pointing to root)

Is there any way to set youtrack subdirectory in cofiguration?
2 comments
Comment actions Permalink
Hello Ostin,

These settings can be configured only from your side, on your server.
Please note, that custom domain option is available from Administartion area only for YouTrack InCloud version.

But, I assume that we can direct you in the right way, if you can provide us with your configuration details.

Thank you.
0
Comment actions Permalink
I have the same question. This is what I am doing for jira

ProxyRequests       Off
ProxyPreserveHost On
ProxyPass           /jira       http://localhost:8080/jira
ProxyPassReverse    /jira       http://localhost:8080/jira
prettyPrint();

Youtrack runs on port 8081. I am trying to proxy it into youtrack subfolder as described here.

ProxyRequests       Off
#ProxyPreserveHost On

ProxyPass /youtrack/ http://localhost:8081/
ProxyHTMLURLMap http://localhost:8081 /youtrack

<Location /youtrack/>
  ProxyPassReverse  http://localhost:8081/
  SetOutputFilter proxy-html
  ProxyHTMLURLMap /          /youtrack/
  ProxyHTMLURLMap /youtrack      /youtrack
</Location>

prettyPrint();

When I visit http://mydomain.com/youtrack/ I am getting redirected to http://mydomain.com/rootGo .

How can I run it as http://mydomain.com/youtrack/  ?

Thank you.
0

Please sign in to leave a comment.