summaryrefslogtreecommitdiff
path: root/apache
diff options
context:
space:
mode:
Diffstat (limited to 'apache')
-rw-r--r--apache/apache-wsgi.conf6
-rw-r--r--apache/django.wsgi2
2 files changed, 3 insertions, 5 deletions
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"
<Directory "/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()