فهرست منبع

Add Apache error documents

Vengance 9 سال پیش
والد
کامیت
942c600749
1فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  1. 8 0
      install/debian/8/apache2/apache2.conf

+ 8 - 0
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