From c50e0f356cd5a860135b458aa56e92d0e1924e03 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 3 Aug 2012 13:42:28 +0200 Subject: Documentation: update installation and upgrade procedure. --- apache/apache-wsgi.conf | 6 ++---- apache/django.wsgi | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'apache') diff --git a/apache/apache-wsgi.conf b/apache/apache-wsgi.conf index bd6ea55..4bd2b81 100644 --- a/apache/apache-wsgi.conf +++ b/apache/apache-wsgi.conf @@ -2,10 +2,8 @@ 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/example_project/static" - Alias /media "/var/local/chimere/example_project/media" - Alias /admin-media "/usr/lib/python2.7/dist-packages/django/contrib/admin/media/" + WSGIScriptAlias / /var/local/chimere/chimere/apache/mydjango.wsgi + Alias /static "/var/local/chimere/mychimere_project/static" Alias /tinymce "/usr/share/tinymce/www" Options Indexes MultiViews FollowSymLinks diff --git a/apache/django.wsgi b/apache/django.wsgi index dc3d9f4..6227ee2 100644 --- a/apache/django.wsgi +++ b/apache/django.wsgi @@ -1,5 +1,5 @@ import os, sys sys.path.append('/var/local/django/chimere/') -os.environ['DJANGO_SETTINGS_MODULE'] = 'example_project.settings' +os.environ['DJANGO_SETTINGS_MODULE'] = 'mychimere_project.settings' import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() -- cgit v1.2.3