From 8ccdaf23128fbe563658ca0d9d74d2ffd831b68d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 15 Feb 2012 01:34:53 +0100 Subject: Main refactoring vor version 2 - convert doc to rest and use sphinx --- apache/apache-wsgi.conf | 13 +++++++++++++ apache/django.wsgi | 5 +++++ 2 files changed, 18 insertions(+) create mode 100644 apache/apache-wsgi.conf create mode 100644 apache/django.wsgi (limited to 'apache') diff --git a/apache/apache-wsgi.conf b/apache/apache-wsgi.conf new file mode 100644 index 0000000..57bd438 --- /dev/null +++ b/apache/apache-wsgi.conf @@ -0,0 +1,13 @@ + + ServerName chimere.example.com + WSGIDaemonProcess chimere processes=2 maximum-requests=500 threads=1 + WSGIProcessGroup chimere + WSGIScriptAlias / /var/local/chimere/chimere/apache/django.wsgi + Alias /static "/var/local/chimere/chimere/static" + Alias /tinymce "/usr/share/tinymce/www" + + ErrorLog ${APACHE_LOG_DIR}/chimere/error.log + LogLevel warn + CustomLog ${APACHE_LOG_DIR}/chimere/access.log combined + + diff --git a/apache/django.wsgi b/apache/django.wsgi new file mode 100644 index 0000000..158f87d --- /dev/null +++ b/apache/django.wsgi @@ -0,0 +1,5 @@ +import os, sys +sys.path.append('/var/local/django/chimere/') +os.environ['DJANGO_SETTINGS_MODULE'] = 'chimere.settings' +import django.core.handlers.wsgi +application = django.core.handlers.wsgi.WSGIHandler() -- cgit v1.2.3