diff options
author | Sean Finney <seanius@debian.org> | 2008-12-29 18:52:40 +0100 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2008-12-29 18:55:39 +0100 |
commit | b7c8fe2fb46a09bc4eee07d0076c3cd6383ece87 (patch) | |
tree | ab95fed452b81b24405deafae36debaa9f3e6c2e | |
parent | 9b6688a7ea6893cb0f9df55abda04a7963883df7 (diff) | |
download | patch-tracker-b7c8fe2fb46a09bc4eee07d0076c3cd6383ece87.tar.gz |
add a sample apache configuration
-rw-r--r-- | sample-apache2.conf | 14 |
1 files changed, 14 insertions, 0 deletions
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 + +<Directory /scratch/patch-tracker> + 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 +</Directory> |