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 ?



1 answer

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

64 views 1 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot