Hi,
I'm very new to tomcat + apache.
I've dowmloaded tomcat 3.2.3 and mod_jk.so (eapi)
I'v installed tomcat as a standalone version without problem.
Now, I want to use it with apache and some virtual hosts.
I have a probleme with the configuration of apache (I guess).
I have mod_jk.so in /etc/httpd/libexec/mod_jk.so
in my httpd.conf:
...
nb: those lines comes before mod_rewrite.so
LoadModule jk_module libexec/mod_jk.so
AddModule mod_jk.c
##Configuration de mod_jk.c
JkWorkersFile /usr/local/tomcat-3.2.3/conf/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info
...
and then, some virtual hosts:
...
<VirtualHost 192.168.100.50:80>
DocumentRoot /raid/ysagon/web
ServerName yanndev.local.hasa.ch
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
</VirtualHost>
...
My probleme:
when I try to start apache:
#apachectl start
Starting httpd: Syntax error on line 774 of /etc/httpd/conf/httpd.conf:
Invalid command 'JkMount', perhaps mis-spelled or defined by a module
not included in the server configuration
[FAILED]
Thank you
Yann Sagon