On Sep 16, 2010, at 1:39 PM, James wrote:

> Hello all,
> Is it possible to run two TG2 apps under a single domain - e.g. a
> reverse proxy forwarding to /app1/ and /app2/?
> 
> After some help with the deployment path in a previous thread, the
> only remaining problem I can see is conflicts in the authentication.
> 
> The apps will need separate identity definitions (stored in different
> tables / DBs), but both are using repoze.who. It seems there will be
> issues in one app overriding the other's authtkt and other associated
> cookies?
> 
> It seems I can either:
> - change the cookie names used by repoze.who somehow
> - deploy one app at app2.mydomain.com (for example) and have separate
> cookie domains
> - rewrite parts of the applications so that they can use consistent
> identity
> 
> For legacy reasons, I'd really like to avoid the last option if at all
> possible...


I would go for the sub-domain approach, that should be the least hassle. 

Diez

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