users@glassfish.java.net

RE: RE: Multiple war's mapped to different ports

From: Shevland, Joe <joe.shevland_at_capgemini.com>
Date: Mon, 23 Jul 2007 14:31:06 +1000

> Thanks for your reply. I'm already doing something like what
> you are suggesting.
>
> However, I need http://www.example.com/ to map to one war,
> and https://www.example.com/ to map to the other. This would
> be easy if the two war's were in different ear's, but in this
> case they are in the same.
>
> Is this even possible at all in Glassfish?
> [Message sent by forum member 'loke' (loke)]

Not sure, I can't think of any standard way to make it happen; Apache
and mod_redirect spring to mind as a possible option if all else fails.
Or combining them into one app possibly and doing things based on the
HTTP scheme that's identified.

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.