You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tony Mak <to...@infomaster.com.hk> on 2002/08/01 12:24:01 UTC

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>