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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

202 views 1 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