From fa2a9504f11f1a4c9643706492d41494f64e8860 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 12 Oct 2011 01:14:15 +0200 Subject: Documentation update --- conf/apache-wsgi.conf | 11 +++++++++++ conf/django.wsgi | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 conf/apache-wsgi.conf create mode 100644 conf/django.wsgi (limited to 'conf') diff --git a/conf/apache-wsgi.conf b/conf/apache-wsgi.conf new file mode 100644 index 000000000..d1d6672e2 --- /dev/null +++ b/conf/apache-wsgi.conf @@ -0,0 +1,11 @@ + + ServerName ishtar.example.com + WSGIDaemonProcess ishtar processes=2 maximum-requests=500 threads=1 + WSGIProcessGroup ishtar + WSGIScriptAlias / /var/local/ishtar/ishtar/apache/django.wsgi + + ErrorLog ${APACHE_LOG_DIR}/ishtar/error.log + LogLevel warn + CustomLog ${APACHE_LOG_DIR}/ishtar/access.log combined + + diff --git a/conf/django.wsgi b/conf/django.wsgi new file mode 100644 index 000000000..ca0a2e5ac --- /dev/null +++ b/conf/django.wsgi @@ -0,0 +1,5 @@ +import os, sys +sys.path.append('/srv/ishtar/') +os.environ['DJANGO_SETTINGS_MODULE'] = 'ishtar.settings' +import django.core.handlers.wsgi +application = django.core.handlers.wsgi.WSGIHandler() -- cgit v1.2.3