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