JIRA Behind Apache

Alfonso Martinez January 30, 2013

I have followed your example on the documents (https://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy#UsingApachewithmod_proxy-complex) to the tee and I am not seeing the jira or confluence installations come up.

My apache conf includes the following:

<VirtualHost 99.198.122.241:80>
    ServerName wiki.darkprospect.net
 
    ProxyRequests Off
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
 
    ProxyPass / http://localhost:8090/
    ProxyPassReverse / http://localhost:8090/
    <Location />
        Order allow,deny
        Allow from all
    </Location>
</VirtualHost>
<VirtualHost 99.198.122.241:80>
    ServerName jira.darkprospect.net
 
    ProxyRequests Off
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
 
    ProxyPass / http://localhost:8080/
    ProxyPassReverse / http://localhost:8080/
    <Location />
        Order allow,deny
        Allow from all
    </Location>
</VirtualHost>

The answer ended up being so simple that I laughed when I figured it out. Jira's guide specifies `<VirtualHost *>` as the needed name however when I altered the file to `<VirtualHost 99.198.122.241:80>` it works just fine. Chose the answer that was closest to my answer figured out.

3 answers

1 accepted

0 votes
Answer accepted
twong_atlassian
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2013

Your virtual host definitions look off: I assume you redacted the server names, in the virtualhost tag, but I wouldn't have thought *="" to be legal.

Alfonso Martinez February 3, 2013

Editted it to be what I currently have on the server.

0 votes
Paul D. Walker September 12, 2016

This was my problem also.

And I had to add a NamedVirtualHost directive to my apache configuration to make sure apache was happy.

0 votes
Kerem Caglar [Solveka]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2013

Try modifying the conf/server.xml file and add proxyName="jira.example.net" to the Connector deifnition.

Alfonso Martinez February 3, 2013

I already did that. :)

Suggest an answer

Log in or Sign up to answer