JIRA login widget strips the trailing URI slash when redirecting to dashboard

Hi everyone,

I'm running into an issue logging into JIRA. I have just completed upgrading from version 4.0.x to version 5.x (along with upgrading Crowd from 1.6 to 2.4—an ordeal, I assure you).

We use the JIRA WAR version on our own servers. The servlet context we use on Tomcat is /jira/. We can log in using the top-right login link (taking us to the login page) however using the login widget doesn't work: it processes the login fine, but redirects to /jira without the trailing slash. Because of how our servers are configured, this does not map to the /jira/ context and the user gets a 404. Adding the slash to the end of the URI fixes it.

Any idea how to make the login widget redirect to the context with the trailing slash?

Thanks,

g.

1 answer

1 accepted

Yeah, so I had a support request with this same issue from two and a half years ago :)

The workaround for us was to have two entries in `uriworkermap.properties` for the IIS-Tomcat connector.

/jira=ajp13w
/jira/*=ajp13w

This seems to work until JIRA allows base-urls with a trailing slash, or fixes the login widget to add the trailing slash (properly representing the servlet context) properly.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

244 views 2 11
Read article

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