I recently switched from a mostly happy apache/mod_python/django implementation to mod_wsgi.
Now, when I go to http://127.0.0.1 I get an error saying: Page not found (404) Request Method: GET Request URL: http://127.0.0.1/ Using the URLconf defined in contenta.urls, Django tried these URL patterns, in this order: ^admin/(.*) The current URL, , didn't match any of these. If I go to http://127.0.0.1/admin, however, it resolves to the admin interface BUT the stylesheet is not used (it is plain html text). In my previous implementation with mod_python, the stylesheet rendered the page perfectly. I'm not sure what code to post, here's the django.wsgi file I import from apache: import os, sys sys.path.append('D:/dev/python/') os.environ['DJANGO_SETTINGS_MODULE'] = 'acme.settings' import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() If I run: python manage.py runserver, use the mini webserver sent with django and navigate to http://127.0.0.1:8000, I still get the above error, but if I go to http://127.0.0.1/admin on port 8000 it renders beautifully with the stylesheet. So it sounds like I have two separate problems, I think. I just started attempting to get Django working in the past day or two, so excuse the beginner questions. Thanks in advance, Kristian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

