From 942c600749517543ca16c538d146040dea0bee79 Mon Sep 17 00:00:00 2001 From: Vengance Date: Sat, 4 Mar 2017 14:30:49 +0100 Subject: [PATCH] Add Apache error documents --- install/debian/8/apache2/apache2.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/install/debian/8/apache2/apache2.conf b/install/debian/8/apache2/apache2.conf index 221780117..2756132ae 100644 --- a/install/debian/8/apache2/apache2.conf +++ b/install/debian/8/apache2/apache2.conf @@ -84,3 +84,11 @@ Include conf.d/ # Include the virtual host configurations: #Include sites-enabled/ + +ErrorDocument 403 /error/403.html +ErrorDocument 404 /error/404.html +ErrorDocument 500 /error/50x.html +ErrorDocument 501 /error/50x.html +ErrorDocument 502 /error/50x.html +ErrorDocument 503 /error/50x.html +ErrorDocument 506 /error/50x.html