Chuck, et. al. -
One final statement on this topic (promise!).
After dreaming about this for a few nights, I've come to agree with
Chuck. I don't see why, even in a multi-SSL setup, one would want to
bother with useIPVHosts=true. Seems like a bit of extra work/thought
for a problem that might no
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> Or is it done regardless on each request anyway?
As far as I can tell, the call to InetAddress.getHostName() is done only when
useIPVHosts is tr
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Thursday, May 27, 2010 9:12 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> > From: Caldarale, Charles R
> >
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Thursday, May 27, 2010 9:30 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> > From: Jeffrey Janner [mailto:jef
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> Now that I got how useIPVhosts works (probably), did you see any
> drawbacks to setting up multiple to achieve what the
> original poster
> From: Caldarale, Charles R
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> > 1) If useIPVHosts=false (default), then the host header name
> > determines for processing, or default host of the Engine.
> > 2) If useIPVHosts=true, then IP ad
Allow me one more attempt at a clear doc?
1) If useIPVHosts=false (default), then the host header name determines
for processing, or default host of the Engine.
2) If useIPVHosts=true, then IP address of request determines for
processing, providing the IP is provided as the host name, or .
If
ers List
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> > Subject: RE: Tomcat 6.0 always uses default host in multi-host
config
> >
> > Allow me one more attempt at a cle
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> Allow me one more attempt at a clear doc?
>
> 1) If useIPVHosts=false (default), then the host header name determines
> for processing, o
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Wednesday, May 26, 2010 4:35 PM
> To: Tomcat Users List
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> > From: Jeffrey Janner [mailto:jef
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> with the it set to true, isn't the host header string ignored?
Yes, it is ignored.
> The entire discussion is about what happens with
>
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Wednesday, May 26, 2010 10:23 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> > From: Jeffrey Janner [mailto:jef
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> When you have a config like the OP, where each host
> is defined by name, not IP, in the server.xml, there
> is obviously some resolution of I
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Tuesday, May 25, 2010 4:47 PM
> To: Tomcat Users List
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> > From: Jeffrey Janner [mailto:jef
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> OK, to answer my own question on this, useIPVHosts is
> essentially a way to save some configuration writing
> at the expense of doing a rev
To: Tomcat Users List
Subject: RE: Tomcat 6.0 always uses default host in multi-host config
Is there a turtorial on the useIPVhosts attribute and how it is
"supposed" to work somewhere? The statement in the on-line
documentation is woefully insufficient.
If you want true default host
Putting an Alias element in the Host solved the problem.
I initially had no Alias elements, then added one using the public IP.
Logs indicated that Tomcat could not connect to that IP; changing the IP
to the local IP (identical to the IP defined in the name attribute in
the Connector) seems to
> From: Jeff [mailto:jwi...@cox.net]
> Subject: Re: Tomcat 6.0 always uses default host in multi-host config
>
> TC writes to the access logs for the default host, which would be
> expected.
Show us real information - in particular the HTTP headers. Use Wireshark or
equivalent i
TC writes to the access logs for the default host, which would be expected.
On 5/25/2010 8:18 AM, Caldarale, Charles R wrote:
From: Jeff [mailto:jwi...@cox.net]
Subject: Re: Tomcat 6.0 always uses default host in multi-host config
Standard HTTP exhibits the same behavior: if the default host
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> noticed the OP's server.xml is missing the Service
> element and the Connectors are under the Engine.
Besides no one else noticing
On Tue, May 25, 2010 at 7:29 AM, Jeffrey Janner
wrote:
> ... but noticed the OP's server.xml is missing the Service element
> and the Connectors are under the Engine.
+1 -- I was just going to comment that if this server.xml snippet is
really the entire file, it doesn't look valid; there's also
#x27;s server.xml is missing the Service element
and the Connectors are under the Engine.
Jeff
-Original Message-
From: Jeff [mailto:jwi...@cox.net]
Sent: Tuesday, May 25, 2010 9:04 AM
To: Tomcat Users List
Subject: Re: Tomcat 6.0 always uses default host in multi-host config
No. And again, if
No. And again, if I change the default host in the config, the app that
is displayed is different, so I don't think that's the issue.
On 5/25/2010 8:56 AM, Pid wrote:
On 25/05/2010 14:13, Jeff wrote:
The application does not automatically redirect to 443.
Standard HTTP exhibits the same b
On 25/05/2010 14:13, Jeff wrote:
> The application does not automatically redirect to 443.
>
> Standard HTTP exhibits the same behavior: if the default host is
> firstdomain.com, http://seconddomain.com still accesses the ROOT app for
> firstdomain.com
There's no chance you uploaded the apps to t
> From: Jeff [mailto:jwi...@cox.net]
> Subject: Re: Tomcat 6.0 always uses default host in multi-host config
>
> Standard HTTP exhibits the same behavior: if the default host is
> firstdomain.com, http://seconddomain.com still accesses the ROOT app
> for firstdomain.c
The application does not automatically redirect to 443.
Standard HTTP exhibits the same behavior: if the default host is
firstdomain.com, http://seconddomain.com still accesses the ROOT app for
firstdomain.com
On 5/25/2010 7:48 AM, Pid wrote:
On 25/05/2010 13:00, Jeff wrote:
I did not
On 25/05/2010 13:00, Jeff wrote:
> I did not have Alias elements inside the Host elements. I did try both
> w/ and w/o www. so I didn't consider that an issue. After adding Alias
> elements, the problem persisted.
>
> There are ROOT.xml Contexts in both
> $CATALINA_HOME/conf/Catalina/firstdomain.c
Neither suggestion worked.
On 5/25/2010 5:52 AM, Konstantin Kolinko wrote:
2010/5/25 Jeff:
Any clues as to what is wrong?
6. useIPVHosts="true" />
Thus you should use IP addresses as host names (or as aliases).
8.
Your HTTPS connectors do not ha
I did not have Alias elements inside the Host elements. I did try both
w/ and w/o www. so I didn't consider that an issue. After adding Alias
elements, the problem persisted.
There are ROOT.xml Contexts in both
$CATALINA_HOME/conf/Catalina/firstdomain.com and
$CATALINA_HOME/conf/Catalina/seco
2010/5/25 Jeff :
> Any clues as to what is wrong?
> 6. useIPVHosts="true" />
Thus you should use IP addresses as host names (or as aliases).
> 8. 9. protocol="org.apache.coyote.http11.Http11Protocol"
> 10. SSLEnabled="true"
> 11. maxThreads="150" sche
On 25/05/2010 10:44, Jeff wrote:
> I have two IP-based virtual hosts configured in a standalone Tomcat
> server. Each host has its own SSL certificate and keystore. Tomcat
> appears to behave as if only the default host is defined. When I hit
> seconddomain.com, Tomcat serves the ROOT app for first
31 matches
Mail list logo