Are you bothering to set SESSION_COOKIE_NAME or SESSION_COOKIE_PATH
differently for each site instance so they don't try and use the same
values?

Graham

On Sep 16, 3:40 am, Lester <lsgcar...@gmail.com> wrote:
> Hello - I have a fedora 11, django 1.02, Apache 2.2, mod_python set
> up.  I am using the standard Django modules and authentication system.
>
> I am running two django sites on the same server - my main site and a
> 'beta'.
>
> For some reason I can authenticate onto my main site fine, however
> when I try to log onto the beta site I get redirected to the main
> site, and am not logged in.  However I do not get any python errors.
> I also have no problems if I switch the sites over (they are
> essentially identical) or run the beta site from the command line.
>
> Is there something I could have in mod_python/apache set up that could
> be interfering with my authentication?  My python.conf is shown below:
>
> LoadModule python_module modules/mod_python.so
>
> <Location "/portal/">
>     SetHandler python-program
>     PythonHandler myvirtualdjango
>     SetEnv DJANGO_SETTINGS_MODULE technology.settings
>     SetEnv PYTHON_EGG_CACHE /var/www/django/technology/egg_temp
>     PythonDebug Off
>     PythonInterpreter portal
>     PythonPath "['/var/www/django/'] + sys.path"
>     #PythonOption django.root "/portal"
> </Location>
>
> <Location "/beta/">
>     SetHandler python-program
>     PythonHandler myvirtualdjango
>     SetEnv DJANGO_SETTINGS_MODULE technology.settings
>     SetEnv PYTHON_EGG_CACHE /var/www/django-dev/technology/egg_temp
>     PythonInterpreter beta
>     PythonDebug On
>     PythonPath "['/var/www/django-dev/'] + sys.path"
>     PythonOption django.root /beta
> </Location>
>
> <Location "/beta/static">
>     SetHandler None
> </Location>
>
> Does anyone have two or more authentic'able django apps running under
> mod_python on the same server, so I at least know that the problem is
> buried in my code somewhere?
--~--~---------~--~----~------------~-------~--~----~
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