Replacing Tomcat Error page 404 , 504
I have problem with Tomcat 6.0.18
- I do not want to show my Server information like tomcat version
- During typing URL , use get 404 not found page , can i configure to get more friendly error page for all of errors and my web application
Take a look here. You have to write your own 404 html page and put the correct path as explained in the FAQ.
What i did :
- Create a 404.html file in ./webapps/myporject/404.html
- Vi /usr/loca/tomcat/conf/server.xml
Put this content :
- Restart tomcat
Thanks Colucix !
You're welcome! :)
|All times are GMT -5. The time now is 04:06 AM.|