After a lot of work, probably to my misunderstand, this the dispatch.wsgi file:
import os, sys
sys.path.append("/home/roger8/public_html/"); <--- NOTE THIS [my django project is in ..../public_html/arcadomus]
os.environ['DJANGO_SETTINGS_MODULE'] = 'arcadomus.settings' <-- NOTE THIS [not settings but arcadomus.settings]
os.environ['PYTHON_EGG_CACHE'] = '/home/roger8/.python_egg_cache'
import django.core.handlers.wsgi
_application = django.core.handlers.wsgi.WSGIHandler()
def application(environ, start_response):
environ['PATH_INFO'] = environ['SCRIPT_NAME'] + environ['PATH_INFO']
return _application(environ, start_response)
All the request are in the form: www.arcadomus.heliohost.org/arcadomus/dispatch.wsgi/ <-- NOTE THIS
I changed url.py according the new urls, example:
(r'^arcadomus/dispatch.wsgi/$', 'arcadomus.main.views.index'),
Finally:
the site work, but the admin page give me an internal server error
I hope in some help
Ruggero