On Tue, Jul 1, 2008 at 11:50 PM, Max <[EMAIL PROTECTED]> wrote:
>
> Hello,
>     Is there any way to run different TurboGears applications on the
> same port of a server? You know how Apache allows different users to
> separate their websites using 'http://server/~username' format. That
> way a single instance of Apache is running on port 80 but can serve
> completely separated websites on the same server.
> Is there any way to achieve this using TurboGears?
> I suppose the logical thing would be to run different applications on
> different ports but I only have port 80 available that is open for
> access and I need to host completely different TurboGears applications
> on the same server.
> Any help would be appreciated.


Use mod_Wsgi. You add alias directive in apache. You can add virtual
hosts, domains, etc...

WSGIScriptAlias /yourapp1 /usr/local/turbogears/youapp1/apache/youapp1.wsgi
WSGIScriptAlias /yourapp2 /usr/local/turbogears/youapp2/apache/youapp2.wsgi
WSGIScriptAlias /yourapp3 /usr/local/turbogears/youapp3/apache/youapp3.wsgi

http://lucasmanual.com/mywiki/TurboGears#head-36b7eef1526da4fe58c73738c925f34f6bc93c1d

Lucas

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