summaryrefslogtreecommitdiff
path: root/apache/includes/ErrorDocument
diff options
context:
space:
mode:
Diffstat (limited to 'apache/includes/ErrorDocument')
-rw-r--r--apache/includes/ErrorDocument22
1 files changed, 22 insertions, 0 deletions
diff --git a/apache/includes/ErrorDocument b/apache/includes/ErrorDocument
new file mode 100644
index 0000000..7b62626
--- /dev/null
+++ b/apache/includes/ErrorDocument
@@ -0,0 +1,22 @@
+Alias /ErrorDocument/ /var/www/COMMON/ErrorDocument/
+
+# "400 Bad Request"
+# "401 Authorization Required"
+# "403 Forbidden"
+# "404 Not Found"
+# "406 Not Acceptible"
+# "500 Internal Server Error"
+#ErrorDocument 400 /ErrorDocument/400
+ErrorDocument 401 /ErrorDocument/401
+ErrorDocument 403 /ErrorDocument/403
+ErrorDocument 404 /ErrorDocument/404
+#ErrorDocument 406 /Errordocument/406
+ErrorDocument 500 /ErrorDocument/500
+
+<Directory /var/www/COMMON/ErrorDocument>
+ Options +MultiViews +Includes
+ AddType text/html .shtml
+ AddHandler server-parsed .shtml
+ order allow,deny
+ allow from all
+</Directory>