apache2.2整合tomcat的配置错误问题
环境:
apache :httpd-2.2.25-win32-x86-openssl-0.9.8y.msi
tomcat :apache-tomcat-6.0.44-windows-x86
mod_jk.so:1.2.40版本
错误:
httpd.exe: Syntax error on line 493 of E:/resource/conf/httpd.conf: Cannot load E:/resource/modules/mod_jk.so into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3 .
httpd.conf文件(我的配置):
LoadModule jk_module modules/mod_jk.so -->这一行是493行
JkWorkersFile conf/workers.properties
JkShmFile conf/mod_jk.shm
JkLogFile logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkMount /tomcat1/* worker1
httpd.conf文件(官方配置):
来源:http://tomcat.apache.org/connectors-doc/generic_howto/quick.html
LoadModule jk_module libexec/mod_jk.so ->这一行
# Where to find workers.properties
JkWorkersFile /etc/httpd/conf/workers.properties
JkShmFile /var/log/httpd/mod_jk.shm
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkMount /examples/* worker1
我的配置文件位置
mod_jk.so modules/mod_jk.so
workers.properties conf/workers.properties
报错说我语法错误。我看跟官方一样啊。有哪位大侠帮我看看?