From c364520226b72df6f7b7432854bba7be16856b67 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 16 Nov 2012 01:32:13 +0100 Subject: [PATCH] use custom error page in apache template --- etc/apache2/pandora.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/apache2/pandora.conf b/etc/apache2/pandora.conf index c49b1172..b611e6fe 100644 --- a/etc/apache2/pandora.conf +++ b/etc/apache2/pandora.conf @@ -41,6 +41,12 @@ ErrorLog /var/log/apache2/pandora_error.log CustomLog /var/log/apache2/pandora_access.log combined + ErrorDocument 500 /srv/pandora/static/html/50x.html + ErrorDocument 502 /srv/pandora/static/html/50x.html + ErrorDocument 503 /srv/pandora/static/html/50x.html + ErrorDocument 504 /srv/pandora/static/html/50x.html + ErrorDocument 404 /srv/pandora/static/html/404.html + ServerSignature Off