tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: IP-based virtual hosting with useIPVHosts=true always goes to default host
Date Thu, 14 Jun 2012 18:40:54 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Assaf,

On 6/8/12 11:12 AM, Assaf Urieli wrote:
> Ok, this is strange. I created a test.jsp page that prints 
> request.getLocalName(), request.getServerName(), and
> request.getLocalAddr(). I tried various scenarios in the browser:
> http://domain1.com, http://www.domain1.com, http:/1.2.3.4,
> http://domain2.com, http://www.domain2.com, http://5.6.7.8, as well
> as all of the above with https.

What /real/ URLs are you using to hit your server? I dont see a port
number anywhere.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/aMDYACgkQ9CaO5/Lv0PAEewCeKMaDc3OL0lNg+3QZLp5d2zan
P0sAoLRtBy05Mx12mCUNE/VPUiO5jewL
=9ipX
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message