tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Brownlee" <osaru_onl...@hotmail.com>
Subject RE: DefaultHost
Date Tue, 29 Apr 2003 09:15:09 GMT
Single engine per service, multiple services per server.  Unless I'm reading 
the docs incorrectly.  Like I said, I haven't set this up yet but, I might 
try it next weekend.


>From: "neal" <nealcabage@yahoo.com>
>Reply-To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>Subject: RE: DefaultHost
>Date: Tue, 29 Apr 2003 01:38:21 -0700
>
>The problem is that (per the docs) there can only be a single engine, and
>each engine must have a single default host.
>
>Am I wrong that only the default host can run servlets in the init sequence
>upon startup of Tomcat?
>
>Neal
>
>
>-----Original Message-----
>From: David Brownlee [mailto:osaru_online@hotmail.com]
>Sent: Tuesday, April 29, 2003 1:05 AM
>To: tomcat-user@jakarta.apache.org
>Subject: Re: DefaultHost
>
>
>Someone jump in and correct me if I'm wrong.  The host elements, like
>name-base virtual hosts in Apache, use the Host: HTTP header to determine
>which virtual host you're referring to.  Older HTTP 1.0 clients may not
>provide this header and so tomcat has no way to know which host the client
>wanted.  In this case, tomcat uses the default host which may still be 
>wrong
>but, hey, it's worth a try.
>
>I'm assuming to get around this, you would have to define a different
>service for each host, each with connectors bound to thier own address/port
>combinations.  In that case, you would not use the host elements.  However,
>I have not tried this yet.
>
> >From: neal cabage <nealcabage@yahoo.com>
> >Reply-To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> >To: tomcat-user@jakarta.apache.org
> >Subject: DefaultHost
> >Date: Mon, 28 Apr 2003 16:29:18 -0700 (PDT)
> >
> >
> >What is the purpose of defining a host as default host?  I mean, if you
> >have several hosted websites (each tied to its own host) why would you 
>even
> >want to declare one to be the "default"?  Where can I find information on
> >the implications of declaring one to be "default"?
> >
> >Thanks
> >
> >Neal
> >
> >
> >
> >
> >---------------------------------
> >Do you Yahoo!?
> >The New Yahoo! Search - Faster. Easier. Bingo.
>
>
>_________________________________________________________________
>Help STOP SPAM with the new MSN 8 and get 2 months FREE*
>http://join.msn.com/?page=features/junkmail
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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


Mime
View raw message