tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Cochems <zap...@tdl.com>
Subject Re: Okay. this is getting annoying.
Date Sun, 15 Jul 2001 23:50:54 GMT


Jeff Kilbride wrote:
> 
> >From your previous posts, you're server.xml entry is not correct. You can't
> reference multiple IP's, domains, etc.. in the <Host> directive.

Odd, somoene else on here was doing jsut that, sucessfully. or so he
says.

> -------------
> My most recent attempt had this in server.xml
> 
> <Host name="206.180.224.76 : www.pedsforless.com : pedsforless.com"
> debug="0"
> appBase="/home/peds/public_html" unpackWARs="true">
>         <Context path="" docBase="/home/peds/public_html" debug="0"/>
>       </Host>
> -------------
> 
> If you want to access this as "www.pedsforless.com" and "pedsforless.com",
> you need to set up two independent <Host> directives. (I'm assuming you're
> using TC3.2.2)  Also realize that this will instantiate all of your servlets
> twice under two different contexts.

I tried that too. i set up three independent directives. Only the one
with the IP address worked.

Mime
View raw message