om: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
> Sent: Thursday, October 28, 2004 12:21 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Virtual Hosts and useCanonical
>
>
> request.getServerName() is the value of the Host header.
request.getServerName() is the value of the Host header. You want
request.getLocalName().
"Mike Curwen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Yup, I've asked about/commented about this before. I'm having trouble
> with
> Vhosts, server names, and how to get the value I
TECTED]
> Sent: Wednesday, October 27, 2004 4:48 PM
> To: Tomcat Users List
> Subject: Re: Virtual Hosts and useCanonical
>
>
> There is a setting somewhere in Tomcat (versions up to 4.1.X
> at least) where you enable/disable reverse DNS. Most of the
> time you want thi
There is a setting somewhere in Tomcat (versions up to 4.1.X at least)
where you enable/disable reverse DNS.
Most of the time you want this off, but I think in your case you may need it
turned on.
I think the swtich is in the Tomcat server.xml, and it relates to the connector you
are using. Its so