diff options
Diffstat (limited to 'docs/conf/apache-modpython-virtualhost.conf')
| -rw-r--r-- | docs/conf/apache-modpython-virtualhost.conf | 13 | 
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> + | 
