Assuming your django project (mysite) is in /home/webmaster/
public_html/django/ then you'll want a trailing "/" in your
PythonPath.

Hope this helps.

On Apr 5, 9:53 pm, HangingClowns <[EMAIL PROTECTED]> wrote:
> I should have the latest versions available for Apache and mod_python
> cause I just put those onto my server about 2 weeks ago. I'm having
> trouble understanding how to edit the Apache config file for Django. I
> currently use the code snippet below for my settings in Apache. And
> this is what the error looks like:
>
> http://67.207.140.149/mysite/
>
> Can someone help me out?
>
> I have started a project in the /home/webmastr/public_html/django
> called mysite, cause I'm following the tutorial on Djangoproject.org.
> I did not find their instructions for configuring modpython to be very
> helpful for me. So, back to subject, within that django folder, is a
> folder called "mysite" with all of the beginning project python .py
> files.
>
>  <Location "/mysite/">
>         SetHandler python-program
>         PythonHandler django.core.handlers.modpython
>         SetEnv DJANGO_SETTINGS_MODULE mysite.settings
>         PythonDebug On
>         PythonPath "['/home/webmastr/public_html/django'] + sys.path"
> </Location>
--~--~---------~--~----~------------~-------~--~----~
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