On Jul 18, 8:19 am, peyman <[EMAIL PROTECTED]> wrote:
> The mod_python instructions 
> athttp://www.djangoproject.com/documentation/modpython/
> seems incomplete. I followed the tutorial, but I had to add 2 paths to
> my Apache config before the mysite sample would work: the project
> directory and it's parent. Or am I missing something?
>
>   <Location "/">
>     SetHandler python-program
>     PythonHandler django.core.handlers.modpython
>     SetEnv DJANGO_SETTINGS_MODULE mysite.settings
>     PythonPath "['/home/someuser','/home/someuser/mysite'] + sys.path"
>     PythonDebug On
>   </Location>

Correct, it has been discussed a couple of times of late. See Google
group reference in:

  http://code.djangoproject.com/ticket/4296#comment:7

for more details of when project directory also needed.

Graham


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to