瀏覽代碼

Update apache2.conf

Vengance 9 年之前
父節點
當前提交
f92c037a5a
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      install/ubuntu/13.04/apache2/apache2.conf

+ 8 - 0
install/ubuntu/13.04/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