Mac OS X Intel mod_jk

hmmm non for months then two in a day……

I struggled to find a binary copy of mod_jk to link Apache and JBoss over AJP.

Quick summary for anyone else needing to play this game :

a) Snag the code from
b) ./configure -with-apxs=/usr/sbin/apxs
c) copy the resultin to /usr/libexec/httpd
d) edit httpd.conf in /private/etc/httpd/ to add

LoadModule jk\_module libexec/httpd/mod\  
AddModule mod\_jk.c  
JkWorkersFile /usr/local/jakarta-tomcat/conf/  
JkLogFile /usr/local/jakarta-tomcat/logs/mod\_jk.log  
JkLogLevel info  
JkLogStampFormat "\[%a %b %d %H:%M:%S %Y\] "  
JKMount /myapp/\* ajp13  

e) Create/edit in /usr/local/jakarta-tomcat/conf/

worker.list=ajp12, ajp13  
# Definition for Ajp13 worker (Ajp12 left to readers imagination)  

f) Restart Apache - all done.