Hi Martin, Below is the extract from my httpd.conf: LoadModule jk_module modules/mod_jk-1.2.15-solaris8-sparc-apache-1.3.33.so JkWorkersFile /usr/local/etc/httpd/conf/workers.properties JkLogFile /usr/local/etc/httpd/logs/mod_jk.log JkLogLevel error JkMount /* ajp13
The idea is that all requests (jsp, servlets, images, etc.) are forwarded from Apache to Tomcat and this works fine with mod_jk version 1.2.5. When I upgraded to 1.2.15 though the forwards still work but only if there are no URL parameters. This is what I cannot understand: if there are URL parameters then it looks as if Apache tried to serve the request instead of forwarding to Tomcat. Any help will be much appreciated. Thanks in advance, Michael >-----Original Message----- >From: Martin Gainty [mailto:[EMAIL PROTECTED] >Sent: 10 December 2005 17:50 >To: [EMAIL PROTECTED] >Cc: users@tomcat.apache.org >Subject: Re: Problem with mod_jk Connector > >Michael- >in your httpd.conf we need to see JKMount statement for >handling *.jsp pages see >http://tomcat.apache.org/tomcat-4.1-doc/config/jk.html >e.g. >For example the following directives will send all requests >ending in .jsp or with /servlet as the second path componenet >to the "ajp13" worker, but jsp requests to files located in >/otherworker will go to "remoteworker". > > JkMount /*.jsp ajp13 > JkMount /*/servlet/ ajp13 > JkMount /otherworker/*.jsp remoteworker >Martin------ Original Message ----- >From: "Michael Andreas Omerou" <[EMAIL PROTECTED]> >To: <users@tomcat.apache.org> >Sent: Saturday, December 10, 2005 10:25 AM >Subject: Problem with mod_jk Connector > > >> Hello, >> >> I have a Solaris server where I use Apache and Tomcat and I >connect them >> using mod_jk. So far I was using mod_jk 1.2.5 and all >requests to Apache >> were forwarded to Tomcat. Then, I needed to host some >things under Apache >> (basically web statistics software, webmail, etc.). So I >thought of using >> JkUnmount to do this. >> >> JkUnmoun is not supported from mod_jk 1.2.5 so I installed the latest >> version 1.2.15. Now JkUnmount works but I have another problem. >> >> If a url which is meant to be sent to Tomcat contains URL >parameters, e.g. >> something like ...../hotelDetails.jsp?hotelCode=AMY, then >the request is >> not >> forwarded from Apache/Mod_jk. >> >> I checked everywhere for solutions to this but could not find any. >> >> Your help willl be much appreciated. >> >> Rgds, >> Michael >> >> >> --------------------------------------------------------------------- >> 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]