I have set up apache with mod_python and I am able to get django
working.

I am trying to reach the simple poll application that is in the
djangoproject tutorial.

I have to add "mysite" in the url when I work with apache. This wasn't
the case with the django server.

http://localhost/mysite/polls/

gives the django error message:

Using the URLconf defined in mysite.urls, Django tried these URL
patterns, in this order:
[..]
The current URL, /mysite/polls/, didn't match any of these.

I have tried to change the urls in urls.py but this will lead to other
errors down the road. Is it possible to handle this differently?

This is my pythonpath in httpd.conf:
PythonPath "['c:/Pythonprojects'] + sys.path"
This is the reference to the settings:
SetEnv DJANGO_SETTINGS_MODULE mysite.settings

Cheers
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to