summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/conf/apache-wsgi.conf11
-rw-r--r--docs/conf/django.wsgi5
2 files changed, 16 insertions, 0 deletions
diff --git a/docs/conf/apache-wsgi.conf b/docs/conf/apache-wsgi.conf
new file mode 100644
index 000000000..d1d6672e2
--- /dev/null
+++ b/docs/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/docs/conf/django.wsgi b/docs/conf/django.wsgi
new file mode 100644
index 000000000..ca0a2e5ac
--- /dev/null
+++ b/docs/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()