* Turner, John <[EMAIL PROTECTED]> [1208 17:08]:
> 
> > -----Original Message-----
> > From: Rasputin [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, December 17, 2002 5:41 AM
> > To: Tomcat Users List
> > Subject: Re: Apache-Tomcat HOWTO
> > 
> > 
> > * Turner, John <[EMAIL PROTECTED]> [1201 14:01]:
> > > 
> > > Not sure what JK2 needs to work, I don't use it.  You 
> > should be able to
> > > build it from the same source package as JK.  I was able to 
> > do so on my Red
> > > Hat test box, but it took quite a bit of hacking around.
> > 
> > But you need a local install of Java; is that right?
> 
> Not sure.  I've used --with-java=${JAVA_HOME} when building the connectors,
> and have also built them without it.

I tried a straight ./configure / ./build.conf.sh, and it complains
about lack of a local JVM. So I think I'm stuck.
 
> > although am I right in thinking a JkMount command can only 
> > forward URIs
> >  'as-is'?  i.e if I set 
> > 
> > JkMount /neotokyo/* lb

> > then the request is going to be sent as a request to 
> > /neotokyo/whatever.jsp  ... to the default host.
 
> Not the defaultHost, but whatever Apache VirtualHost has the JkMount.  If no
> VirtualHost, than the value of Apache's global ServerName.  Tomcat will try
> and match that value with a corresponding Host element and go from there.

> > And is the Host part of the protocol, so you can dedicate 
> > virtual hosts to AJP clients? I got around this by having a Tomcat virtual 
> > host with the DNS name of the Apache webserver, and setting it as the 
> > Engines default host - since no HTTP requests should come into tomcat  asking for 
> > that host, it solves the problem but is pretty clanky.
 
> As far as I know, there's no need to set defaultHost at all...if you needed
> to do this, you could never have more than one virtual host, which is not
> the case.

Right - from what you say, the reason my setup above works is that my
defaultHost happens to be set to the name of the virtual host in Apache -
it's good to know I can still use tomcat vhosts with JK, I use them
fairly heavily...

Thanks ! 

-- 
Rasputin :: Jack of All Trades - Master of Nuns

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to