summaryrefslogtreecommitdiff
path: root/lib/apache2/patchwork.mod_python.conf
diff options
context:
space:
mode:
Diffstat (limited to 'lib/apache2/patchwork.mod_python.conf')
-rw-r--r--lib/apache2/patchwork.mod_python.conf22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/apache2/patchwork.mod_python.conf b/lib/apache2/patchwork.mod_python.conf
deleted file mode 100644
index c46f86c..0000000
--- a/lib/apache2/patchwork.mod_python.conf
+++ /dev/null
@@ -1,22 +0,0 @@
-NameVirtualHost patchwork.example.com:80
-<VirtualHost patchwork.example.com:80>
- DocumentRoot /srv/patchwork/htdocs/
-
- Alias /media/ /srv/patchwork/lib/python/django/contrib/admin/media/
-
- <Location "/">
- SetHandler python-program
- PythonHandler django.core.handlers.modpython
- PythonPath "['/srv/patchwork', '/srv/patchwork/lib/python'] + sys.path"
- SetEnv DJANGO_SETTINGS_MODULE settings
- </Location>
-
- <LocationMatch "^/+(images|css|js|media)/">
- SetHandler None
- </LocationMatch>
-
- LogLevel warn
- ErrorLog /var/log/apache2/patchwork-error.log
- CustomLog /var/log/apache2/patchwork-acess.log combined
-
-</VirtualHost>