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
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 yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

239 views 4 9
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