Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Creating custom 404 page after changing context

Thibaud SAINT-MARTIN
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 27, 2013

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
AUG Leaders

Atlassian Community Events