summaryrefslogtreecommitdiff
path: root/docs/conf/apache-modpython-virtualhost.conf
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-10-25 14:15:21 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-10-25 14:15:21 +0200
commit97e37da73eeef899628491aee9989ac4691b3784 (patch)
tree477fdf8ac29309f9ec8ebe8469c1a7139d8baadc /docs/conf/apache-modpython-virtualhost.conf
parent0d930f95701fbbc9b5b7fb9bc28c3a664a600f9a (diff)
downloadPapillon-97e37da73eeef899628491aee9989ac4691b3784.tar.bz2
Papillon-97e37da73eeef899628491aee9989ac4691b3784.zip
Update of documentation
Diffstat (limited to 'docs/conf/apache-modpython-virtualhost.conf')
-rw-r--r--docs/conf/apache-modpython-virtualhost.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/conf/apache-modpython-virtualhost.conf b/docs/conf/apache-modpython-virtualhost.conf
new file mode 100644
index 0000000..06bbff8
--- /dev/null
+++ b/docs/conf/apache-modpython-virtualhost.conf
@@ -0,0 +1,13 @@
+<VirtualHost *:80>
+ ServerName papillon.example.com
+ # directory path to the installation of Papillon
+ PythonPath "['/var/local/django/papillon/'] + sys.path"
+ SetHandler python-program
+ PythonHandler django.core.handlers.modpython
+ SetEnv DJANGO_SETTINGS_MODULE papillon.settings
+ # set it to on or off if in test or production environment
+ PythonDebug On
+ # put differents interpreter names if you deploy several Papillon
+ PythonInterpreter papillon
+</VirtualHost>
+