Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,018
Community Members
 
Community Events
168
Community Groups

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
TAGS

Atlassian Community Events