Wiley a écrit :
> Here's the ultra-newbie question of the day.
>
> I have a lil' site running well under runserver, when I hook it up to
> apache2 and mod_python, something goes wrong. For the EXACT same
> python/django code, the admin site and all URLS come up fine in the
> built-in server. When I switch to the apache setup I get nothing but
> 404s, and I know its reading my urls file because it's saying it tried
> those urls. Am I missing something obvious?
>
> Here's my httpd.conf settings:
>
> <Location "/beijingeats">
> SetHandler python-program
> PythonPath "[ '/usr/local/django_projects/beijing_eats/' ] +
> sys.path"
> PythonHandler django.core.handlers.modpython
> SetEnv DJANGO_SETTINGS_MODULE beijing_eats.settings
Try:
PythonPath "[ '/usr/local/django_projects' ] + sys.path"
Nicolas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---