diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-10-12 01:14:15 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-10-12 01:14:15 +0200 |
commit | ec9b51faf1f50d3f3fe924942af50405714e71b3 (patch) | |
tree | 140a1f5792bbeefa1eab2db0f5d18ad1bf0c7a11 /conf | |
parent | 00b98d5a9e259004af1d34dd93bac550736509fb (diff) | |
download | Ishtar-ec9b51faf1f50d3f3fe924942af50405714e71b3.tar.bz2 Ishtar-ec9b51faf1f50d3f3fe924942af50405714e71b3.zip |
Documentation update
Diffstat (limited to 'conf')
-rw-r--r-- | conf/apache-wsgi.conf | 11 | ||||
-rw-r--r-- | conf/django.wsgi | 5 |
2 files changed, 16 insertions, 0 deletions
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 @@ +<VirtualHost *:80> + 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 + +</VirtualHost> 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() |