* Dan Milstein ([EMAIL PROTECTED]) wrote on Fri Jan 26, 2001 at 01:27:09PM -0500:
> Thom,
>
> Thanks for the feedback.
>
> 1) The mod_jk howto / vhosts
>
> The mod_jk user docs are (as far as I can tell) kind of a mess. I have a
> medium-term goal of overhauling them and cleaning them up, but I haven't
> done so yet. I'm not clear on what they say about vhosts, and, to be
> honest, I'm no major expert on vhost configuration. I'll try to take a look
> at this when I get a chance -- could you maybe send me the following:
>
> - A piece of a sample vhost config / mod_jk config which "should" work.
>
> - The specs for the system where it's currently not working. Specifically:
> Apache version, TC version, connector protocol (e.g. ajp12, ajp13).
>
> That would be very, very helpful.
OK. here's where I wind up looking like an idiot when I've fucked up my
config :P
httpd.conf first:
--snipped module loading stuff--
JkWorkersFile /var/tomcat/conf/workers.properties
JKLogFile /var/tomcat/logs/mod_jk.log
--Snipped loads of default cruft --
<VirtualHost 192.168.3.27>
(setup stuff which I don't particularily want world+dog to see :) )
JkMount /servlets/* ajpv13
#ApJServMount /servlet ajpv12://localhost:8007/servlet
</VirtualHost>
then server.xml:
<Host name="192.168.3.27">
<Context path="/servlets/"
docBase="/data/www/virtual/xxxx/servlets/"
debug="0" reloadable="true" />
</Host>
This is all the howto says you need to do.
Tomcat creates the context 192.168.3.27:/servlets/ and is listening on it.
However, mod_jk never sets up a handler for anything inside a VirtualHost
command.
Server: Apache/1.3.12 (Unix) (Red Hat/Linux) PHP/3.0.12 mod_perl/1.21
mod_jk
Tomcat 3.2.1, ajp13.
cheers
-Thom
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]