jira subdomain on Mod_proxy

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?

1 answer

1 accepted

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!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,739 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot