aboutsummaryrefslogtreecommitdiffstats
path: root/conf-available
diff options
context:
space:
mode:
Diffstat (limited to 'conf-available')
-rw-r--r--conf-available/errorpage.conf42
1 files changed, 42 insertions, 0 deletions
diff --git a/conf-available/errorpage.conf b/conf-available/errorpage.conf
new file mode 100644
index 0000000..e52fb3f
--- /dev/null
+++ b/conf-available/errorpage.conf
@@ -0,0 +1,42 @@
+<IfModule mod_alias.c>
+ Alias /errorpage/400 /etc/apache2/customization/errorpage/400.shtml
+ Alias /errorpage/401 /etc/apache2/customization/errorpage/401.shtml
+ Alias /errorpage/403 /etc/apache2/customization/errorpage/403.shtml
+ Alias /errorpage/404 /etc/apache2/customization/errorpage/404.shtml
+ Alias /errorpage/405 /etc/apache2/customization/errorpage/405.shtml
+ Alias /errorpage/408 /etc/apache2/customization/errorpage/408.shtml
+ Alias /errorpage/409 /etc/apache2/customization/errorpage/409.shtml
+ Alias /errorpage/410 /etc/apache2/customization/errorpage/410.shtml
+ Alias /errorpage/411 /etc/apache2/customization/errorpage/411.shtml
+ Alias /errorpage/412 /etc/apache2/customization/errorpage/412.shtml
+ Alias /errorpage/413 /etc/apache2/customization/errorpage/413.shtml
+ Alias /errorpage/414 /etc/apache2/customization/errorpage/414.shtml
+ Alias /errorpage/415 /etc/apache2/customization/errorpage/415.shtml
+ Alias /errorpage/500 /etc/apache2/customization/errorpage/500.shtml
+ Alias /errorpage/501 /etc/apache2/customization/errorpage/501.shtml
+ Alias /errorpage/503 /etc/apache2/customization/errorpage/503.shtml
+ Alias /errorpage/504 /etc/apache2/customization/errorpage/504.shtml
+
+ ErrorDocument 400 /errorpage/400
+ ErrorDocument 401 /errorpage/401
+ ErrorDocument 403 /errorpage/403
+ ErrorDocument 404 /errorpage/404
+ ErrorDocument 405 /errorpage/405
+ ErrorDocument 408 /errorpage/408
+ ErrorDocument 409 /errorpage/409
+ ErrorDocument 410 /errorpage/410
+ ErrorDocument 411 /errorpage/411
+ ErrorDocument 412 /errorpage/412
+ ErrorDocument 413 /errorpage/413
+ ErrorDocument 414 /errorpage/414
+ ErrorDocument 415 /errorpage/415
+ ErrorDocument 500 /errorpage/500
+ ErrorDocument 501 /errorpage/501
+ ErrorDocument 503 /errorpage/503
+ ErrorDocument 504 /errorpage/504
+
+ <Directory /etc/apache2/customization/errorpage/>
+ Options +Includes
+ Require all granted
+ </Directory>
+</IfModule>