personalcancertoolkit / openmrs-module-patientportaltoolkit

Other
7 stars 9 forks source link

Add a 404 not found error page #524

Closed PhilipAdeoye closed 3 months ago

PhilipAdeoye commented 1 year ago

in /usr/local/tomcat/webapps/openmrs/WEB-INF

  1. Edit web.xml and add
<error-page>                                                                       
    <error-code>404</error-code>                                                          
    <location>/WEB-INF/view/404.html</location>                                       
</error-page> 
  1. Create 404.html with appropriate content in .../WEB-INF/view/