-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Chris,
On 12/5/14 11:01 AM, Chris Gamache wrote: > Currently we use haproxy to direct users to certain versions of > our software based on a cookie. This is so that the user can select > which version of the software they want to use (e.g. Legacy, > Stable, Beta) ... Having that kind of application functionality in > the load balancer is something I'd rather not do. I'd rather have > Tomcat read the cookie and switch contexts based on the cookie. I'd > like to be able to simply pass the connection on to a different > context and not have to 3XX redirect the client, but I don't see > where that functionality exists. For my money, I'd keep things at the load-balancer level, or at least in a web tier where the configuration can be quarantined. This will make you more flexible, anyway, because it means that you won't be forced to deploy all types of environments (legacy, stable, beta) on the same server(s). > I might be looking at the problem the wrong way though. What are your objections to doing this at the lb-level? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUglr4AAoJEBzwKT+lPKRY6r0P+gOcHV9yJJ42bFucjedQhqCU YOShPlrB4F532flzDZCffFkpnafMdykuXceeEaBBPRF+2Qb/w2upeWRgSesjQzdS er0FyTTTnDzxlUrqKnoKzH7bQkJIQfCx48ra2M/uGvXLszw6f2CxxxGnnz72hp9j hDHVarXvlY1LogzhtLfiudJ1XE6QxETM9QOniNnB+BoaKcflsakzJgwdkl7peN9C 4T8XLjXmktknHXNmoieLxf3MbSVvRfptrUXjz5qoFQDW/raaw2MgKow4/f0cWf2i VcLdakX0dsi/Tu+cjnbPvCwcowC82g8k3lDinDo+XU9a5VBqOpRq9oJspmFzpSNQ rrgXTbxBCzYm5533tgkwoco3hMpLyWhIuFURIkOMLC9vCC7t/mZ5Hz3aVw+oc5Ja RAJJDIXcZObksIXlb/OvTAlBbyWdZH/E/KSbQb3UnS5omxp2Tn1wK1CyHZ5CKE1n 7PocIjzki9kex2VGLkAU3TjwCw352rVn3G5TtDLICZet97w8uFcRiaTRNS840WbQ dCd0uszK8Z9Lkx/4VYyhGfd8i4w7rPlIuvsNjwjXPeGxXPNoVaD+xSSc03obwIbU JjRy2szjrytO0hRZlgXtR7VZp1jmvtFQ4xiO1tJVRN/ZF0BMP5yT4Gk/PfwIoq4o sUFHU4TEezKz0nVJ8gxn =5MMa -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org