Vengance 9 лет назад
Родитель
Сommit
b444fb9b08
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      install/debian/7/apache2/apache2.conf

+ 8 - 0
install/debian/7/apache2/apache2.conf

@@ -85,3 +85,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