From b7c8fe2fb46a09bc4eee07d0076c3cd6383ece87 Mon Sep 17 00:00:00 2001 From: Sean Finney Date: Mon, 29 Dec 2008 18:52:40 +0100 Subject: add a sample apache configuration --- sample-apache2.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sample-apache2.conf (limited to 'sample-apache2.conf') diff --git a/sample-apache2.conf b/sample-apache2.conf new file mode 100644 index 0000000..dc2238d --- /dev/null +++ b/sample-apache2.conf @@ -0,0 +1,14 @@ +# sample apache(2) configuration for patch-tracking system + +# static content, such as images, css, etc +Alias /patch-tracking.debian.net/static /scratch/patch-tracker/static + +# all other requests go through a central handler +AliasMatch /patch-tracking.debian.net.* /scratch/patch-tracker/pagehandler.py + + + AddHandler mod_python .py + PythonHandler pagehandler + # mod_python doesn't set cwd, so we need to hint this to the handler + SetEnv PT_INSTALLROOT /scratch/patch-tracker + -- cgit v1.2.3