Hi, I just want to connect tomcat4 and apache2. So I can use http://localhost/examples to visit tomcat4 examples. I still meet the problem: ============================ Restarting web server: Apache2Syntax error on line 5 of /etc/apache2/conf.d/work ers2.properties: Invalid command '[logger]', perhaps mis-spelled or defined by a module not inclu ded in the server configuration ============================
Here is my workers2.properties, which is copyed from examples. ============================ [logger] info=Native logger level=ERROR [config:] file=${serverRoot}/conf/workers2.properties debug=0 debugEnv=0 [uriMap:] info=Maps the requests. debug=0 [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocess servers file=anonymous debug=0 [workerEnv:] info=Global server options timing=0 [lb:lb] info=Default load balancer. debug=0 [channel.socket:localhost:8009] info=Ajp13 forwarding over socket debug=0 tomcatId=localhost:8009 [uri:/admin] info=Tomcat HTML based administration web application. debug=0 [uri:/manager] info=A scriptable management web application for the Tomcat Web Server. debug=0 [uri:/jsp-examples] info=JSP 2.0 Examples. debug=0 [uri:/servlets-examples] info=Servlet 2.4 Examples. debug=0 [uri:/*.jsp] info=JSP Extension mapping. debug=0 ============================ I tried to download mod_jk2.so from apache.org, and recover the file in /usr/lib/apache2/modules, But it still not work. Is is because some modules is not loaded? In the /etc/apache2/modules_enabled/ Only has one file called jk2.load: LoadModule jk2_module /usr/lib/apache2/modules/mod_jk2.so Could you give any advise? Thank you. -------------------------------- Actually I ended up grabbing modjk2 from the Apache site and dropping that straight into the modules directory. That worked fine... _________________________________________________________ Do You Yahoo!? 100兆邮箱够不够用?雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/