I have a similar problem to yours. When I tried to connect tomcat with
apache, I got
'Sytax error on line 8 of /usr/local/jakarta-tomcat/conf/mod_jk.conf-auto:',
but the next line
says my mod_jk.so might be garbled. I am trying to recompile a mod_jk.so for
my RedHat6.1
to see if the new mod_jk.so will help. I downloaded the mod_jk.so from the
jakarta site, I don't
know why it doesn't work. Maybe something else.
----- Original Message -----
From: "Rick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 9:03 AM
Subject: Re: New to user-mailing-list (mod_jk)
Ik didnt work !!!
I have been working for 1 hour to reinstall everything
this is what I did (after a clean red hat 7.0 install)
01: cd /tmp/apache1.3.19
02: ./configure --prefix=/usr/local/apache --enable-module=so
03: cd /tmp/php4.0.4
04:
./configure --with-mysql --with-apache=../apache1.3.19 --enable-track-vars
05: make
06:.make install
07: cd /tmp/apache1.3.19
08: ./configure --activate-module=src/modules/php4/libphp4.a
09: make
10: make install
11: cd /tmp/php4.0.4
12: cp php.ini-dist /usr/local/lib/php.ini
*** edit httpd.conf ***
13: AddType application/x-httpd-php .php
**** unzip/tar Tomcat to /usr/local/jakarta-tomcat ***
14: cd /usr/local/jakarta-tomcat/bin
**** edit tomcat to let tomcat know where the JDK is ***
15: ./startup.sh
**** copy mod_jk.so to /apache/libexec ***
*** edit httpd.conf ***
Include "/usr/local/jakarta-tomcat/conf/mod_jk.conf-auto"
16: cd /usr/local/apache/bin
17: ./apachectl start
the SAME error again
----------------------------------------------------------------------------
---------------------
Sytax error on line 8 of /usr/local/jakarta-tomcat/conf/mod_jk.conf-auto:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module
not
included in the server configuration
./apachectl start: httpd could not be started
----------------------------------------------------------------------------
---------------------
now I can completey start all over again...
does anybody know the configuration that does enable the use of LoadModule
?
rick
----- Original Message -----
From: "Wesselmann, Marcus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 2:54 PM
Subject: AW: New to user-mailing-list
Hi,
At compile-time you only have to use --enable-module=so
When Apache is compiled and installed you enable mod_jk with an appropiate
LoadModule entry in httpd.conf.
At least that worked fine for me :)
Regards,
Marcus
-----Ursprüngliche Nachricht-----
Von: Rick [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 20. April 2001 14:16
An: [EMAIL PROTECTED]
Betreff: Re: New to user-mailing-list
sorry to bother you once more with the same question
but before I really configure apache (I might do something wrong, and let
me
start all over again)
should I use: --enable-shared or --enable-module=so
in the configuration to enable me to use mod_jk.so
I read the documentation, but this talked about stuff Im not familiar
with...
regards
rick