From 2d55fe7a6abbe89a5508c1642e9a75e6bd9eab79 Mon Sep 17 00:00:00 2001 From: Sean Finney Date: Wed, 2 Dec 2009 21:15:58 +0100 Subject: now include a 500 error page --- sample-apache2.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sample-apache2.conf') diff --git a/sample-apache2.conf b/sample-apache2.conf index 419b0a8..5bd6e7e 100644 --- a/sample-apache2.conf +++ b/sample-apache2.conf @@ -6,6 +6,8 @@ # static content, such as images, css, etc #Alias /static /home/seanius/patch-tracker/static +# a custom error page +#ErrorDocument 500 /static/500.html # all other requests go through a central handler #WSGIScriptAlias / /home/seanius/patch-tracker/pagehandler.py # @@ -19,6 +21,8 @@ # static content, such as images, css, etc Alias /patch-tracking.debian.net/static /home/seanius/patch-tracker/static +# a custom error page +ErrorDocument 500 /patch-tracking.debian.net/static/500.html # all other requests go through a central handler WSGIScriptAlias /patch-tracking.debian.net /home/seanius/patch-tracker/pagehandler.py -- cgit v1.2.3