So I have setup confluence on one server and JIRA on a different server. I followed the guide here: https://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy To get confluence up and running on confluence2.corp.domain.com
JIRA is currently running on http://jira.corp.domain.com:8080/jira but I need it to run as confluence.corp.zulily.com/JIRA
I tried to edit the virtualhosts file in apache as follows:
NameVirtualHost *
<VirtualHost *>
ServerName confluence2.corp.domain.com/jira
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://jira.corp.domain.com:8080/jira
ProxyPassReverse / http://jira.corp.domain.com:8080/jira
<Location />
Order allow,deny
Allow from all
</Location>
</VirtualHost>
<VirtualHost *>
ServerName confluence2.corp.domain.com
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://confluence2.corp.domain.com:8090/
ProxyPassReverse / http://confluence2.corp.domain.com:8090/
<Location />
Order allow,deny
Allow from all
</Location>
</VirtualHost>
confluence2.corp.domain.com works perfectly but confluence2.corp.domain.com/JIRA just shows confluence with a page cannot be displayed. Any Idea how I could execute this?
Hi Josh, I think that the problem here is the the context path /jira. I'd suggest to change this:
ProxyPass / http://jira.corp.domain.com:8080/jira ProxyPassReverse / http://jira.corp.domain.com:8080/jira
to this:
ProxyPass /jira http://jira.corp.domain.com:8080/jira ProxyPassReverse /jira http://jira.corp.domain.com:8080/jira
And restart both JIRA and Apache.
I hope it helps.
Cheers
You sir are correct - thank you! Always good to have a second pair of eyes!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.