-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul,
You really ought to post this kind of stuff to the list. I'm cc'ing the list so everyone can see our discussion. You can leave me off the cc list from now on. Paul Hickey wrote: > I have tomcat & apache running side by side, and I've manged to figure > out how to get tomcat to process jsp pages. However, I have a java web > app that takes xsl & xslt to generate html pages on the fly, running in > the tomcat server. When I go myserver:8080/myurl.html for a dynamic page > all works fine. But I cant, no matter what I seem to try with JkMount, > get apache to pass through the requests to tomcat when I use > myserver:/myurl.html. I assume you mean http://myserver/myurl.html -- having that stray ':' in there will really mess things up. > I get this error in the apache log: > [Wed Nov 08 20:48:02 2006] [error] [client 80.13.228.249] File does not > exist: /var/www/html/java > when I request this url http://myserver/java/tracker/ That's not the URL you used earlier in your email. I assume this is an Apache httpd error message, and not Tomcat, yes? > with the following in my httpd.conf: > > <VirtualHost localhost:80> > ServerName myserver > > JkMount /java/tracker/home/*.html ajp13 > JkMount /tracker/home/*.html ajp13 > JkMount /java/tracker/home/* ajp13 > JkMount /tracker/home/* ajp13 > </VirtualHost> > > If you can add anything I would be extremely grateful. You don't have any JkMount directives that cover these URIs: /java/tracker /myurl.html So that's why they're not being forwarded to Tomcat. If you want anything starting with /java/tracker to be sent to Tomcat, you have to add this to httpd.conf: JkMount /java/tracker* ajp13 The reason this is working when you use port 8080 is probably because you still have the HTTP connector running inside Tomcat, so you are avoiding Apache httpd altogether. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFUktI9CaO5/Lv0PARAr1eAKCwp+0T1Zmaes490OLP1g0R+WlbSwCgm6df Q8wL45Spic9BDeJQenhBzJA= =yNeu -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]