- update variable WSGI_APPLICATION in myslice/settings.py.
<VirtualHost *:80>
- WSGIScriptAlias / /usr/share/unfold/apache/myslice.wsgi
+ WSGIScriptAlias / /usr/share/unfold/apache/wsgi.py
<Directory /usr/share/unfold/apache>
- <Files myslice.wsgi>
+ <Files wsgi.py>
Order deny,allow
Allow from all
</Files>
usr/share/unfold/debug_platform
manage.py usr/share/unfold/
apache/myslice.conf /etc/apache2/sites-available
-apache/myslice.wsgi usr/share/unfold/apache
+apache/wsgi.py usr/share/unfold/apache
ROOT_URLCONF = 'myslice.urls'
# Python dotted path to the WSGI application used by Django's runserver.
-WSGI_APPLICATION = 'myslice.wsgi.application'
+WSGI_APPLICATION = 'apache.wsgi.application'
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
( 'static/img', glob ('static/img/*')),
( 'static/fonts', glob ('static/fonts/*')),
( 'templates', glob ('templates/*')),
- ( 'apache', [ 'apache/myslice.conf', 'apache/myslice.wsgi' ]),
+ ( 'apache', [ 'apache/myslice.conf', 'apache/wsgi.py' ]),
])