frankwetterer
Goto Top

Redirect of Apache Webserver to Jira Server on localhost does not work

Hallo.

Es geht um ein Problem des redirect des Apache Webservers auf einen Jira (Tomcat) Server auf dem selben Host. Es soll nach "aussen" nur ein Port 80 zu erreichen sein, der dann intern vom Apache Webserver an die Tomcats (3 Instanzen) weitergeleitet wird. Bei der Weiterleitung an den Jira baut sich das Dashboard nicht korrekt auf, aber der Zugriff auf z. B. die Tomcat Manager-Seite der anderen Instanz funktioniert problemlos.

Hi!

The goal is to redirect the request to a apache webserver 2.2 to the jira server on the same host/localhost.
The server platform running this, is Windows Server 2008 64bit R2. Apache Webserver 2.2 and Jira 4.1.1
The port 80 of the firewall is forwarded to port 8082 of the apache webserver behind it. On the same server is the jira server on port 8083. So far everything works.
The configuration is made by using vhosts (httpd.conf --> Include conf/extra/httpd-vhosts.conf and httpd-vhosts.conf):

In File: httpd-vhosts.conf redirect to jira.domain.de

<VirtualHost *:8082>
ServerName jira.domain.de
ProxyPass / http://localhost:8083/jira/
ProxyPassReverse / http://localhost:8083/jira/
</VirtualHost>

Accessing the jira server in browser from an the client directly by using the NON public ip address 172.30.3.1 and on the jira port 8083 with: http://172.30.3.1:8083/jira shows a perfect result. See attached file:
c50e175ae551fc013057230a04629525

Accessing the site jira.domain.de from external with: http://jira.domain.de shows the jira dashboard not completely built. See attached file:
0fe61678c1c3dc4eef82930964574242

I've tried many (I guess all) combinations within the httpd-vhosts.conf file for ProxyPass and ProxyPassReverse without any success. always the same result.

Access from both, external and internal, redirect correctly to: /jira/secure/Dashboard.jspa e.g. https://jira.domain.de/jira/secure/Dashboard.jspa but showing different results.

I do not have clue (anymore) what needs to be done to make this run correctly.

Can anybody help? Pls! Any help is appreciated.

Thanx.
Frank

Content-Key: 153184

Url: https://administrator.de/contentid/153184

Printed on: April 20, 2024 at 04:04 o'clock