Just upgraded today from 3.13 to 4.4 and my redirect is now broken...if anyone else with a similar setup has some advice I would really appreciate it. This same config was working fine with 3.13...
<VirtualHost *:80>
ServerName jira.MYDOMAIN.org
ProxyRequests Off
ProxyPreserveHost On
ProxyPassReverseCookiePath / /jira/
ProxyPass /jira/ http://SERVER.MYDOMAIN.org/jira/
ProxyPassReverse /jira/ http://SERVER.MYDOMAIN.org/jira/
ProxyPass / http://SERVER.MYDOMAIN.org/jira/secure/Dashboard.jspa
ProxyPassReverse / http://SERVER.MYDOMAIN.org/jira/secure/Dashboard.jspa
</VirtualHost>
Overview is Apache instance running on a seperate server using http-vhosts. DNS alias pointing jira.MYDOMAIN.org to IP address of Apache host server. Basically pointing jira.MYDOMAIN.org to SERVER.MYDOMAIN.org/jira. It ends up turing the URL into this...
Let me know if you need any other info...this is quickly becoming a big problem...
Thanks in advance,
Jeff
Fixed with the help of a coworker (aka Apache Ninja)
<VirtualHost *:80>
ServerName http://jira.MYDOMAIN.org
ProxyRequests Off
ProxyPreserveHost On
ProxyPassReverseCookiePath / /jira/
ProxyPass /jira http://SERVER.MYDOMAIN.org/jira
ProxyPassReverse /jira http://SERVER.MYDOMAIN.org/jira
ProxyPass /index.html http://SERVER.MYDOMAIN.org/jira/secure/Dashboard.jspa
ProxyPassReverse /index.html http://SERVER.MYDOMAIN.org/jira/secure/Dashboard.jspa
</VirtualHost>
Either way thank you for all of the help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried backing it off to the point of seeing the errors relating to base URL vs requested URL...but what I am reporting is happening before the login even completes. I cannot figure out why the redirect is adding the extra context path to the end of the URL. I am sure there is some tie in here with the warnings about 4.0 and up. and what I am seeing...I just dont understand what that might be.
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.
If I understand you correctly...I should be using this...
<VirtualHost *:80>
ServerName jira.MYDOMAIN.org
ProxyRequests Off
ProxyPreserveHost On
ProxyPassReverseCookiePath / /jira/
ProxyPass / http://SERVER.MYDOMAIN.org/jira/
ProxyPassReverse / http://SERVER.MYDOMAIN.org/jira/
</VirtualHost>
With a base URL of http://jira.MYDOMAIN.org
This seems go give me the correct URL in the browser...but the login page will not load when accessed via http://jira.MYDOMAIN.org. Gives two errors on Dashboard.jspa...'AJS' and 'AG' undefined.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This suggestion isn't working either...it disables the login gadget. Something of note...with my current config if I click the "Login" link in the upper right hand corner that works fine. No matter what the URL is in the browser at the time of clicking "Log In" button the URL directs to http://jira.MYDOMAIN.org/jira and displays the 404 error showing this path /jira/secure/Dashboard.jspajira
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.
I do not have my JIRA instance defined anywhere within my server.xml...I use a jira.xml in conf/Catalina/localhost to define context. Is this where I would definte the proxyName? Sorry for the silly questions...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With this I get the dashboard but the gadgets fail with the same additional 'jira' added to the URL
<VirtualHost *:80>
ServerName http://jira.MYDOMAIN.org
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://SERVERNAME.MYDOMAIN.org/jira/secure/Dashboard.jspa
ProxyPassReverse / http://SERVERNAME.MYDOMAIN.org/jira/secure/Dashboard.jspa
</VirtualHost>
/jira/secure/Dashboard.jspajira/plugins/servlet/gadgets/ifr
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.