Well, the first thing: httpd.conf, either through manual entry or mod_jk.conf, needs an entry that looks something like this:
<VirtualHost www.meetdave.com> ServerName www.meetdave.com Alias /examples "C:/tomcat/Tomcat-4-1-18/webapps/examples" <Directory "C:/tomcat/Tomcat-4-1-18/webapps/examples"> Options Indexes FollowSymLinks DirectoryIndex index.html index.htm index.jsp </Directory> <Location "/examples/WEB-INF/*"> AllowOverride None deny from all </Location> <Location "/examples/META-INF/*"> AllowOverride None deny from all </Location> <Directory "C:/tomcat/Tomcat-4-1-18/webapps/examples/WEB-INF/"> AllowOverride None deny from all </Directory> <Directory "C:/tomcat/Tomcat-4-1-18/webapps/examples/META-INF/"> AllowOverride None deny from all </Directory> JkMount /examples/servlet/* ajp13 JkMount /examples/*.jsp ajp13 </VirtualHost> Basically, the error message is 100% descriptive. The worker can't find a match for that host, for that URL. How about disabling the auto-config (just disable the Include in httpd.conf) and putting the VirtualHost container with the appropriate JkMounts in there, and seeing what happens? Keep it simple...start with a default install, then add/change things a step at a time. I just tried a default install, and replaced every occurence of "localhost", except for the defaultHost parameter, in server.xml with "myhost" and it works. HTH John > -----Original Message----- > From: Dave Taylor [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 04, 2003 11:04 AM > To: Tomcat Users List > Subject: RE: Can't get Apache 2.0.44 / tomcat 4.1.18 / > mod_jk-2.0.43.dll > t o wo rk together properly > > > Good idea! I tried it unsuccessfully last night, unfortunately. > > I also tried: > 1. Lots of experimentation with IP addresses, versus "localhost" or > "www.mydomain.com" (behavior unchanged). > > 2. Turning up logging on mod_jk.log to "debug". This logged > consistent "done > without match" on GETs. Not very interesting. See > http://www.meetdave.com/mod_jk_excerpt.txt > > 3. Turning on a TCPMON and watching the HTTP traffic, via > incoming requests > on port 8070, forwarded by TCPMON to port 80. This > configuration actually > works! So today, port 8070 works (redirected to 80), port > 8080 works, but > port 80 fails. See http://www.meetdave.com/tcpmon_success.txt for the > 8070->80 HTTP log. > > > Keep in mind that standard Apache requests to non-Tomcat > resources on port > 80 have always worked just fine. And FYI, my server.xml and other > configuration files may be viewed at > http://www.meetdave.com/configfiles.html. > > > Hopefully someone who wants a gift book from their Amazon.com > wish list can > help me out of this quagmire. > > Thanks in advance! > > > > > > -----Original Message----- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 04, 2003 6:03 AM > To: 'Tomcat Users List' > Subject: RE: Can't get Apache 2.0.44 / tomcat 4.1.18 / > mod_jk-2.0.43.dll > t o wo rk together properly > > > > There were no attachments. > > Instead of copying the localhost Host container, what happens > if you just > change the localhost Host container to www.your-domain.com? > > John > > > > -----Original Message----- > > From: Dave Taylor [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, February 04, 2003 12:25 AM > > To: [EMAIL PROTECTED] > > Subject: Can't get Apache 2.0.44 / tomcat 4.1.18 / > > mod_jk-2.0.43.dll to > > wo rk together properly > > > > > > I can't seem to get mod_jk-2.0.43 working perfectly with my > > Tomcat-Apache > > environment. > > > > All my Tomcat servlets and JSPs work perfectly when > > referenced locally as > > http://localhost:8080/examples or http://localhost/examples. > > > > HOWEVER, the servlets and JSP's fail to work when addressed > > with anything > > other than "localhost". For example, http://www.meetdave.com/examples > results in an HTTP 404. > > I have copied and added www.meetdave.com to my server.xml > <Host>, and I even > tried the server.xml <Alias> element, all to no avail. > > Server.xml is attached. Thanks in advance. > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]