I have an app server with JBoss installed and am trying to configure my separate web server with mod_jk to connect to this box but I cannot get mod_jk working.
OS: Redhat ES4
XAMPP with Apache 2.2.2
Tried several mod_jk.so binaries such as "mod_jk-apache-2.0.46-linux-i686.so" but always get "API module structure 'jk_module' ... is garbled - perhaps this is not an Apache module DSO". I figure the problem is that the DSO is compiled for Apache 2.0 and not Apache 2.2 which the Tomcat Connectors FAQ says won't work.
So, download mod_jk source. Run:
./configure --with-apxs2=/opt/lampp/bin/apxs
Runs through for awhile until I get:
...
checking for target platform... unix
no apache given
configure: error: Cannot find the WebServer
Questions:
1. Does anyone know how to get above to compile? Do I need the Apache source and use --with-apache=...? Do I need to run buildconf.sh? Do I need some magical switch?
2. Anyone know of a mod_jk.so binary that will work on Apache 2.2.2?
3. Any other ideas?