Thanks all!

 Finally, i got django working with apache 2.2 mod_python3.1

settings:

<Location "/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    PythonOption django.root /web
    SetEnv DJANGO_SETTINGS_MODULE web.settings
    PythonPath "['C:/depot/projects'] + sys.path"
    PythonDebug On
</Location>

Thanks again.



On May 7, 10:45 pm, Phil Mocek <pmocek-list-django-us...@mocek.org>
wrote:
> On Thu, May 07, 2009 at 10:16:44PM -0700, online wrote:
> > Thanks, i tried changing
>
> > <Location "C:/depot/projects/web/">
> > to
> > <Location "/web/">  or <Location "/>
>
> Your third attempt is not even valid syntax.  Doesn't it seem a
> little strange that in the other cases you had quotes enclosing a
> string but then in the third, you did not?
>
> Your problem is completely unrelated to with Django, so it's a bit
> out of place on this list.  As Malcom said previously, you need to
> go read about Apache configuration.  It seems that you either
> didn't read or misunderstood what you read.  Given that you
> haven't asked any questions in an attempt to fill in the parts you
> don't understand, it seems likely that you didn't even read any
> relevant Apache docs.
>
> Maybe if you cite the page that you're using as a reference in
> your attempts to use Apache's location directive, and also explain
> your present understanding of it, someone can help guide you to
> whatever part you're missing or misunderstanding.
>
> --
> Phil Mocek
--~--~---------~--~----~------------~-------~--~----~
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