Creating custom 404 page after changing context

Hi guys,

I changed the context of my Fisheye install to be <web-server site-url="http://...:8060/" context="fisheye"> <http bind=":8060"/>...</web-server>


Now, when I try to browse http://*.*.*.*:8060, a 404 error is raised, with something like "Error 404 - Not Found. No context on this server matched or handled this request. Contexts known to this server are: some text".

The obvious problem here is that this error message gives too much information about my Fisheye install (it gives clear text view on the physical path of my JIRA install).

I already tried to change web.xml for <error-code>404</error-code>, but even after restarting Fisheye, the old 404 error is still shown.

Is there an easy way to redirect http://*.*.*.*:8060 into my http://*.*.*.*:8060/fisheye page ? If not, can't I simply modify the original 404 page not to display the link to my files anymore ?

Thanks,

Thibaud


1 answer

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

160 views 2 0
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