users@glassfish.java.net

Re: Another thread on virtual servers

From: <glassfish_at_javadesktop.org>
Date: Thu, 31 Jul 2008 18:39:48 PDT

Here's a strange little side effect -

Everything is working correctly (http-listener-1 is pointed to www.abc.com, and http-listener-2 (with ssl) is pointed at www.def.com).

However, if I go to http://www.def.com, it will load the abc.com webapp, and if I go to https://abc.com, it will load the def.com webapp.

I'm pretty sure this has to do with the default Web Module setting, but how do I get around it? And by the way, my hosts line just has "www.abc.com,abc.com" and similar for the def.com
[Message sent by forum member 'malakh' (malakh)]

http://forums.java.net/jive/thread.jspa?messageID=290810