diff options
-rw-r--r-- | APACHE2_skaschool.conf | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/APACHE2_skaschool.conf b/APACHE2_skaschool.conf index 29902fb..c339ccb 100644 --- a/APACHE2_skaschool.conf +++ b/APACHE2_skaschool.conf @@ -3,11 +3,13 @@ WSGIScriptAlias / /opt/www/skaschool/django_skaschool/django_skaschool/wsgi.py ## embedded mode -#WSGIPythonPath /opt/www/skaschool/django_skaschool:/opt/www/skaschool/env_skaschool/lib/python2.7/site-packages +WSGIPythonPath /opt/www/skaschool/django_skaschool:/opt/www/skaschool/env_skaschool/lib/python2.7/site-packages +WSGIProcessGroup %{GLOBAL} ## daemon mode -WSGIDaemonProcess skaschool python-path=/opt/www/skaschool/django_skaschool:/opt/www/skaschool/env_skaschool/lib/python2.7/site-packages -WSGIProcessGroup skaschool +#WSGIDaemonProcess skaschool python-path=/opt/www/skaschool/django_skaschool:/opt/www/skaschool/env_skaschool/lib/python2.7/site-packages +#WSGIProcessGroup skaschool + WSGIApplicationGroup skaschool # If apache version >= 2.4: |