Hi everyone,

    I've been having a great time testing Django and developing a real
application.
However, I've run into some trouble putting my project in a production
environment:
Everything works fine in using the development sever, but when I try to
put my project under Apache and mod_python, I get the Django 404 debug
page, indicating that the URL entered [i.e. http://myhost/metadata/ ]
did not match any patterns in my urls.py:
"Using the URLconf defined in metadata.urls, Django tried these URL
patterns, in this order:

   1. ^admin/
   2. ^$
   3. ^all/$
   4. ^packages/(?P<pack_id>\d+)/$
   ...
   9. ^description/create/(?P<pack_id>\d+)/$
  10. ^accounts/login/$
  11. ^logout/$
  12. ^i18n/

The current URL, /metadata/, didn't match any of these."

I just want to have a very basic configuration, so I'm using this under
my httpd.conf:

<Location "/metadata/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    PythonPath "['/home/cerealito'] + sys.path"
    SetEnv DJANGO_SETTINGS_MODULE metadata.settings
    PythonDebug On
</Location>

As you can guess from here, my project is called `metadata' and lives
under `/home/cerealito/metadata'

I've browsed through the list and the tickets, and I could not find any
help.
Am I missing something basic here?

Any hint would be appreciated.

Thanks a lot!


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to