You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ray Thomas <rt...@my-deja.com> on 2001/02/12 17:05:41 UTC

How to specify a mod_jk worker w/ SetHandler

Does anyone know how to map URI's by regular expression from Apache to a specific tomcat worker via mod_jk?  JkMount does not work with regular expressions (only a very basic wildcard filtering).  With ApacheModuleJserv, there was a handler name, jserv-servlet, which could be used with SetHandler in an Apache Web Server LocationMatch directive.  mod_jk uses jakarta-servlet for the handler name but there appears to be no way to specify which worker gets the requests.  With multiple workers defined, the following results in an "Internal Server Error" when a matching URI is intercepted:

<LocationMatch /mywebapp/(.*)Servlet$>
   SetHandler jakarta-servlet
</LocationMatch>

Anyone know how to specify a worker with SetHandler?

-R


------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/



old problem with mod_jk.so

Posted by mikhail malamud <mi...@drexel.edu>.
I had been searching archives for the past two days. This problem pops
up both with Linux and FreeBSD. I still cant find the solution. After
compiling compiling mod_jk.so from 3.2.1 source files and adjusting
httpd.conf, I receive following error when trying to start Apache.

**********
Cannot load /usr/local/libexec/apache/mod_jk.so into server:
/usr/local/libexec/apache/mod_jk.so: Undefined symbol "map_name_at"
/usr/local/sbin/apachectl start: httpd could not be started
*********

I am running FreeBSD 4.2 + Apache 1.3.17 + Tomcat 3.2.1 +(Sun JDK1.3
emul | jdk1.1.8 native).

Please help. I am going nuts.