summaryrefslogtreecommitdiff
path: root/docs/conf/apache-modpython.conf
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf/apache-modpython.conf')
-rw-r--r--docs/conf/apache-modpython.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/conf/apache-modpython.conf b/docs/conf/apache-modpython.conf
new file mode 100644
index 0000000..5e0d15d
--- /dev/null
+++ b/docs/conf/apache-modpython.conf
@@ -0,0 +1,13 @@
+# part of the address after the root of your site: EXTRA_URL
+<Location "/papillon/">
+ # 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
+</Location>
+