Hi all,

I'm running Debian Sarge and installed the 4suite debian package from
the stable branch (python-4suite-0.99cvs2005041).
By removing it and installing the latest version of 4suite from the
web site, it works like a charm.

Hope this helps someone

georges.

On Mar 19, 4:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi Graham,
>
> thank you for your reply.
> I have tried without this directive line and got the same behavior.
>
> cheers,
> georges
>
> On Mar 19, 3:50 pm, "Graham Dumpleton" <[EMAIL PROTECTED]>
> wrote:
>
> > Remove:
>
> >   PythonInterpPerDirective On
>
> > You are not meant to have that line. Only use the PythonInterpreter
> > directive line.
>
> > Graham
>
> > On Mar 19, 3:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > > Hi All,
>
> > > I'm trying to set up multiple Django installations on the same Apache
> > > server, same application but different code versions, one for tests,
> > > one for development...
> > > I've followed the instructions 
> > > fromhttp://www.djangoproject.com/documentation/modpython/tosetthem up:
>
> > > <VirtualHost *:80>
>
> > > ...
> > > <Location "/dev/">
> > >         SetHandler python-program
> > >         PythonHandler django.core.handlers.modpython
> > >         PythonPath "['/home/dev/myproject/'] + sys.path"
> > >         SetEnv DJANGO_SETTINGS_MODULE myapp.settings
> > >         SetEnv HOME /home/dev
> > >         PythonDebug On
> > >         PythonInterpPerDirective On
> > >         PythonInterpreter dev
> > > </Location>
>
> > > <Location "/test/">
> > >         SetHandler python-program
> > >         PythonHandler django.core.handlers.modpython
> > >         PythonPath "['/home/test/myproject/'] + sys.path"
> > >         SetEnv DJANGO_SETTINGS_MODULE myapp.settings
> > >         SetEnv HOME /home/test
> > >         PythonDebug On
> > >         PythonInterpPerDirective On
> > >         PythonInterpreter test
> > > </Location>
> > > ...
> > > </VirtualHost>
>
> > > The first location called will work fine, but I'll get some random
> > > errors as if the python interpreters were conflicting for the second
> > > location.
> > > So if I hit "/test/" first, I'll get the following error for "/dev/":
>
> > > "ViewDoesNotExist at /dev/checklogin/
> > > Tried p_check_login in module myapp.views. Error was:
> > > InputSource instance has no attribute 'uri'
> > > Request Method:     POST
> > > Request URL:    https://xxxxxx/dev/checklogin/
> > > Exception Type:     ViewDoesNotExist
> > > Exception Value:     Tried p_check_login in module myapp.views.
> > > Error was: InputSource instance has no attribute 'uri'
> > > Exception Location:
> > > /usr/lib/python2.3/site-packages/Django-0.95-py2.3.egg/django/core/
> > > urlresolvers.py
> > > in get_callback, line 122"
>
> > > Thank you very much for your help,
> > > georges


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