Seth Buntin wrote:
> When I restart my server, and go to /ncate/manager I get the right
> application. But if I log out of that application and go to
> /kate/tick/ I get the /ncate/manager application. This will happen
> visa-versa. I first go to /kate/tick, logout, go to /ncate/manager and
> get the /kate/tick/ application.
This is probably because of the server loading Python interpreter and
all the code only once for a process. Any subsequent requests that fall
into this process are handled with the code that was loaded first.
To work with several different projects you need to specify for
mod_python that they require different Python interpreter instance. This
is done with PythonInterpreter directive:
<Location "/ncate/manager/">
...
PythonInterpreter ncate
</Location>
<Location "/kate/tick/">
...
PythonInterpreter tick
</Location>
The name itself can be any. It's just has to be different for each
different project (which just means different settings file).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---