Page 1 of 1

XAMPP (Apache 2.2.2) - mod_jk

PostPosted: 06. February 2007 20:17
by gdeckler
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?

PostPosted: 06. February 2007 20:59
by Wiedmann
You have installed the XAMPP devel package?

PostPosted: 06. February 2007 21:37
by gdeckler
Had a feeling that was going to be the answer. No, not yet but I was looking for some confirmation that was going to be a step in the right direction before spinning my wheels. Thanks, I'll get XAMPP upgraded and load the devel.

OK, next piece of advice if you would be so kind, I am at 1.5.3a now, should I use the upgrade to 1.5.4 then to 1.5.4a, then to 1.5.5 and then to 1.5.5a or just stick with 1.5.3a or blow it away and install 1.5.5a.

Thanks for the assistance.

Re: XAMPP (Apache 2.2.2) - mod_jk

PostPosted: 14. April 2010 21:58
by malbi87