"localhost" is fine when your Tomcat instance is on the same physical
machine as Apache.

Some folks separate the two, and others use load balancing (one Apache, many
Tomcats).  With Tomcat on a separate machine from Apache, the "host"
parameter in workers.properties would be a FQDN or an IP address of the
Tomcat server.

HTH

John

> -----Original Message-----
> From: Brandon Cruz [mailto:bcruz@;norvax.com]
> Sent: Thursday, November 14, 2002 7:25 PM
> To: Tomcat Users List
> Subject: John Turner, question about your Documentation
> 
> 
> John,
> 
> I'm using your documentation to try and connect tomcat 4.1.12 
> to apache
> 1.3.26.  The page I am using is this one...
> http://www.johnturner.com/howto/apache1-tomcat404-howto.html.
> 
> Anyway, I am looking at what you have for the 
> workers.properties file and
> see that you say to put a worker.ajp13.host=www.servername.com.
> 
> Does that mean we will need to create a different 
> workers.properties file
> for every virtual host, that we will need to create a 
> separate entry for
> every virtual host?  My old setup just used 
> worker.ajp13.host=localhost and
> everything worked fine, but that was with tomcat 3.2.4.
> 
> Thanks for your help!
> 
> Brandon
> 
> P.S.  Those documents are great, if I make any significant 
> changes for my
> configuration, I'll send them to you.
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@;jakarta.apache.org>
> 

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

Reply via email to