Update of /var/cvs/contributions/natmm/WEB-INF
In directory james.mmbase.org:/tmp/cvs-serv28536/WEB-INF

Modified Files:
        web.xml 
Log Message:
NMCMS-449 - Custom error pages for 400,403,404,405 and 500.


See also: http://cvs.mmbase.org/viewcvs/contributions/natmm/WEB-INF
See also: http://www.mmbase.org/jira/browse/NMCMS-449


Index: web.xml
===================================================================
RCS file: /var/cvs/contributions/natmm/WEB-INF/web.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- web.xml     18 Apr 2008 13:20:09 -0000      1.4
+++ web.xml     15 May 2008 13:01:24 -0000      1.5
@@ -129,12 +129,24 @@
     <welcome-file>index.html</welcome-file>
   </welcome-file-list>
   <error-page>
+      <error-code>400</error-code>
+      <location>/natmm/404/index-400.html</location>
+  </error-page>
+  <error-page>
+      <error-code>403</error-code>
+      <location>/natmm/404/index-403.html</location>
+  </error-page>
+    <error-page>
       <error-code>404</error-code>
-      <location>/natmm/404/index.html</location>
+      <location>/natmm/404/index-404.html</location>
+  </error-page>
+  <error-page>
+      <error-code>405</error-code>
+      <location>/natmm/404/index-405.html</location>
   </error-page>
   <error-page>
       <error-code>500</error-code>
-      <location>/natmm/404/index.html</location>
+      <location>/natmm/404/index-500.html</location>
   </error-page>
   <taglib>
     <taglib-uri>/WEB-INF/tld/struts-bean.tld</taglib-uri>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to