Stefan Meier wrote:
> Hey folks,
>
> I am currently in the process of convincing my company to adopt
> TurboGears as the main platform for small internal webapp projects. One
> of the issues that have come up and that needs to be solved is that we
> need to run multiple TurboGears apps within one Apache server.
>
> Proxying to several standalone TG servers is not an option. The Apache
> currently provides CGI and mod_python (but can add other modules, I
> have control over it). I am currently working with the mpcp bridge to
> connect TG to mod_python, but that seems to work only for one TG app,
> and I would have to deploy multiple ( <= 10 ) TG apps within one and
> the same apache, each with their own env, DB connection etc.
>
> Any help on this is greatly appreciated!

Look at the PythonInterpreter directive for mod_python. This will allow
you to specify that a different Python interpreter instance is used for
different parts of the URL namespace. This should allow you to setup
distinct instances of TG applications such that they don't interfere
with each other and with each having their own copies of modules.

Graham


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to