summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
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
commitfa2a9504f11f1a4c9643706492d41494f64e8860 (patch)
tree140a1f5792bbeefa1eab2db0f5d18ad1bf0c7a11 /conf
parent69212bcfb1b03ab4ab890a12ceb7895480f21544 (diff)
downloadIshtar-fa2a9504f11f1a4c9643706492d41494f64e8860.tar.bz2
Ishtar-fa2a9504f11f1a4c9643706492d41494f64e8860.zip
Documentation update
Diffstat (limited to 'conf')
-rw-r--r--conf/apache-wsgi.conf11
-rw-r--r--conf/django.wsgi5
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()