summaryrefslogtreecommitdiff
path: root/docs/conf/apache-modpython.conf
blob: 5e0d15da84baa28a75c0e24a4dd8b8146db7b472 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>