"Bob Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill, > > Thanks for pointing that out. I got locked in to the way I did > it from a previous version and didn't look far enough. > > Can you point out where the docs for configuring mod_proxy_ajp might > be?
It's integrated with mod_proxy, so most of the directives are at: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html e.g. for the simplest of cases (proxy-all to myapp with local Tomcat): ProxyPass /myapp ajp://localhost:8009/myapp To implement load-balancing, you'll also want: http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html > > Thanks, > > -Bob > >> It looks like you did: >> ./configure --with-apache=/path/to/httpd/source >> >> instead of: >> ./configure --with-apxs=/path/to/httpd/dist/bin/apxs >> >> The first builds mod_jk for static linking with Httpd, the second builds >> mod_jk.so. The second also correctly resolves the apr and apr-util >> includes >> automagically. >> >> Of course, with 2.2.x, you could always simply use mod_proxy_ajp and save >> yourself a lot of work building mod_jk ;-). >> -rw-r--r-- 1 root -rw-r--r-- 1 root root 129060 Jan > 2 19:03 mod_jk.o > -rw-r--r-- 1 root root 307 Jan 2 19:03 mod_jk.lo > -rw-r--r-- 1 root root 764 Jan 2 19:03 lib_jk.la > [root 129060 Jan 2 19:03 mod_jk.o > -rw-r--r-- 1 root root 307 Jan 2 19:03 mod_jk.lo > -rw-r--r-- 1 root root 764 Jan 2 19:03 lib_jk.la > [ >> "Bob Smith" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >>> Hi Gurus, >>> >>> I'm trying to install JK 1.2.15 on Red Hat 9, for Apache 2.2.x and >>> Tomcat >>> 5.5. >>> I ran configure and had to solve some dependency issues (apr and >>> apr-util >>> includes), and finally got it to compile. However, it did not compile >>> mod_jk.so file, but the following: >>> >>> mod_jk.o >>> mod_jk.lo >>> lib_jk.la >>> >>> It's been a while since I played with C, so can anyone give me pointers >>> on creating mod_jk.so? >>> >>> Thanks, >>> >>> -Bob >> >> >> >> >> --------------------------------------------------------------------- >> 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]
