Use custom error page for Tomcat's 404 Page when using mod_jk and Apache httpd.
Use custom error page for Tomcat's 404 Page when using mod_jk and Apache httpd
vi /etc/httpd/conf.d/ssl.conf
Add use_server_errors=400,500
vi /etc/httpd/conf/httpd.conf
Create 401.html & 503.html page and placed it in /opt/tomcat9/webapps/ROOT/401.html.
Comments
Post a Comment