Hay Sam,


I dad the same Problem.

I downloaded the source distribution and did the build of mod_jk.so with
apxs. This compiled me a working one for Mandrake 8.0 and Apache 1.3.17.

For the rest of TomCat I am using binary distribution.

apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include
-I/usr/local/jdk/include/linux -c *.c ../jk/*.c
should do the compile (adjust paths for your needs.) I had this from:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html

then copy the mod_jk.so to your libexec dir which was configured in your
Apache
(default = PREFIX/libexec)
make sure to start TomCat before Apache. (I went into this trap)

then include the generated file:
$YOUR_TOMCAT_HOME/conf/mod_jk.conf-auto
in your httpd.conf using

Include /path/to/mod_jk.conf-auto

and start Apache.

hope this helps a little bit.
roman


-----Urspr�ngliche Nachricht-----
Von: Sam Newman [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 3. Mai 2001 13:38
An: [EMAIL PROTECTED]
Betreff: Re: Still trying to configure mod_jk


Lots of people have this problem. The downloadable mod_jk seems to work for
some people, but not all. I'd suggest downloading the mod_jk source and
build it yourself. Give your system, this shouldn't be too hard.

sam
----- Original Message -----
From: "Laurence Mayer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 03, 2001 1:10 PM
Subject: Still trying to configure mod_jk


>
> Redhat 6.2
> Apache -1.3.6-1
>
> httpd start gives the following error
>
> Syntax error on line 214 of /etc/httpd/conf/httpd.conf:
> API module structure 'jk_module' in file /user/libexec/apache/mod_jk.so is
> garbled - perhaps
> this is not an apache module DSO?
>
> How do I fix?
>
> Can anyone shed some light, pleeeeeeeaaaaaaassse?
>
> Desperate
> Laurence
>

Reply via email to