On Feb 8, 9:52 am, Karen Tracey <kmtra...@gmail.com> wrote:
> On Sun, Feb 8, 2009 at 9:44 AM, Jeff <jostend...@gmail.com> wrote:
> > On Feb 8, 4:29 am, Bradley Wright <bradl...@gmail.com> wrote:>
> > > And if you're really using mod_python already with Apache, also post
> > > your vhost file.
> > vhost file:
> > #Block conf
> > files###############################################################
> > <Files httpd.conf>
> >    Order allow,deny
> >    Deny from all
> > </Files>
> > #Django
> > mod_python###########################################################
> > <Location "/legend/">
> >    SetHandler python-program
> >    PythonHandler django.core.handlers.modpython
> >    SetEnv DJANGO_SETTINGS_MODULE legend.settings
> >    PythonOption django.root /legend
> >    PythonDebug On
> >    PythonPath "['/var/www/django/legend'] + sys.path"
> > </Location>
>
> You've got the same problem with duplicating 'legend' in your
> DJANGO_SETTINGS_MODULE spec and PythonPath spec as the poster in this
> thread:
>
> http://groups.google.com/group/django-users/msg/e8411403c00de3f6
>
> had duplicating 'mysite', and you have the same options for fixing it as I
> described there.
>
> Karen

I actually got it to work by changing the PYTHONPATH from '/var/www/
django/legend' to just '/var/www/django'.  Not sure if this is only
due to my version of python or what.  But thank you for the help.

Jeff
--~--~---------~--~----~------------~-------~--~----~
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