summaryrefslogtreecommitdiff
path: root/sample-apache2.conf
diff options
context:
space:
mode:
Diffstat (limited to 'sample-apache2.conf')
-rw-r--r--sample-apache2.conf4
1 files changed, 4 insertions, 0 deletions
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
#<Location />
@@ -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
<Location /patch-tracking.debian.net>