]> granicus.if.org Git - apache/commitdiff
Add the rest of the error docs to httpd-*.conf.
authorJoshua Slive <slive@apache.org>
Mon, 20 Aug 2001 22:36:35 +0000 (22:36 +0000)
committerJoshua Slive <slive@apache.org>
Mon, 20 Aug 2001 22:36:35 +0000 (22:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90436 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/httpd-std.conf
docs/conf/httpd-win.conf

index e4200ac33691cd832511a484a71945df63c27fdc..97ec957ec6c2a9abc8f31d2c0013e2e371c08bc7 100644 (file)
@@ -860,7 +860,24 @@ AddType application/x-tar .tgz
         Allow from all
     </Directory>
 
+    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
     ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
+    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
+    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
+    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
+    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
+    ErrorDocument 410 /error/HTTP_GONE.html.var
+    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
+    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
+    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
+    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
+    ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var
+    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
+    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
+    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
+    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
+    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
+
 </IfModule>
 
 #
index 167306e27589df5893f7ad4d635564d7c567368f..4618a7bd2e0cdfb2282b158fd52e25732407ebc4 100644 (file)
@@ -779,7 +779,24 @@ AddType application/x-tar .tgz
         Allow from all
     </Directory>
 
+    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
     ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
+    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
+    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
+    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
+    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
+    ErrorDocument 410 /error/HTTP_GONE.html.var
+    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
+    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
+    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
+    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
+    ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var
+    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
+    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
+    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
+    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
+    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
+
 </IfModule>
 
 #