Well, as Ralph already said, if HAVE_SSL is false, your JkMount directives will not be included and apache will just spit out a JSP page as text/html.
If you have the two Listener directives in server.xml as you posted, you don't need to put any mod_jk statements whatsoever in httpd.conf. With those two Listener directives, all you have to put in httpd.conf is a line that says: Include /some/path/to/tomcat/conf/auto/mod_jk.conf Obviously, you will have to make sure your Context elements in server.xml make sense, and match what apache is expecting. Things I would check are whether ServerName in httpd.conf matches Host name="" in server.xml, and whether you have a workers.properties file with the same hostname as ServerName and the Host name="" parameter. The apache logs should tell you exactly (or nearly so) what's happening...if you are getting a 200 in the logs for the URL in question, that means that apache isn't even trying to send things to tomcat. John Turner [EMAIL PROTECTED] -----Original Message----- From: Tony Mak [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 6:24 AM To: [EMAIL PROTECTED] Subject: About mod_jk. Hi ya, I am working on mod_jk. After I set the setting, the jsp page take no effect (The bowser just shows all jsp codes). The setting is as follows, In server.xml, <Server port="8005" shutdown="SHUTDOWN" debug="0"> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" /> <Host name="localhost" debug="0" appbase="webapps" > <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true" /> In httpd.conf, LoadModule jk_module modules/mod_jk.so . . . <IfDefine HAVE_SSL> AddModule mod_jk.c JkWorkersFile /etc/httpd/conf/workers.properties JkLogFile /etc/httpd/logs/mod_jk.log JkLogLevel debug JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 ---------------------------- Environment Redhat 7.3, Apache 1.3.23-9(bundle with RH), Tomcat4.0.3(RPM) Tony -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
