tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liam Morley <lmor...@gdc.wpi.edu>
Subject Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so
Date Sun, 30 Jun 2002 23:23:23 GMT
Brian,
then it seems you're running jk1, not jk2 then, the same connector as in 
previous versions of tomcat.

Liam Morley

Brian Millett wrote:

>On Sun, 2002-06-30 at 17:11, Luminous Heart wrote:
>  
>
>>Do I understand that mod_jk version 1 works with
>>tomcat4.1 and apache2.0.x? 
>>    
>>
>
>Here is my "stuff" for tomcat 4.1.6, apache 2.0.39, redhat 7.2
>
>server.xml: (comment out the jk2 stuff)
>
>    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
>    <!-- 
>    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>               port="8009" minProcessors="5" maxProcessors="75"
>               enableLookups="true" redirectPort="8443"
>               acceptCount="10" debug="0" connectionTimeout="20000"
>               useURIValidationHack="false"
>       protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
>    -->
>
>    <!-- Define an AJP 1.3 Connector on port 8009 -->
>    
>    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
>               port="8009" minProcessors="5" maxProcessors="75"
>               acceptCount="10" debug="3"/>
>    
>
>Then in the apache httpd.conf I include this mod_jk.conf file:
><IfModule mod_jk.c>
>###############################################################################
>#             Apache Coyote JK Configuration File                      
>###############################################################################
>
>    JkWorkersFile /opt/apache/conf/workers.properties
>    JkLogFile /opt/apache/logs/mod_jk.log
>    JkLogLevel debug
>
>Alias /examples "/opt/jakarta-tomcat/webapps/examples"
><Directory "/opt/jakarta-tomcat/webapps/examples">
>	 Options Indexes MultiViews All
>	 AllowOverride FileInfo AuthConfig Limit
>	 <Limit GET POST>
>			Order deny,allow
>			Deny from all
>			Allow from 192.168.250.
>	 </Limit>
></Directory>
>JkMount /examples ajp13
>JkMount /examples/* ajp13
>
>Alias /struts-example "/opt/jakarta-tomcat/webapps/struts-example"
><Directory "/opt/jakarta-tomcat/webapps/struts-example">
>	 Options Indexes MultiViews All
>	 AllowOverride FileInfo AuthConfig Limit
>	 <Limit GET POST>
>		Order deny,allow
>		Deny from all
>		Allow from 192.168.250.
>	 </Limit>
></Directory>
>JkMount /struts-example ajp13
>JkMount /struts-example/* ajp13
>
>Alias /struts-documentation
>"/opt/jakarta-tomcat/webapps/struts-documentation"
><Directory "/opt/jakarta-tomcat/webapps/struts-documentation">
>	 Options Indexes MultiViews All
>	 AllowOverride FileInfo AuthConfig Limit
>	 <Limit GET POST>
>			Order deny,allow
>			Deny from all
>			Allow from 192.168.250.
>	 </Limit>
></Directory>
>JkMount /struts-documentation ajp13
>JkMount /struts-documentation/* ajp13
>
>Alias /struts-exercise-taglib
>"/opt/jakarta-tomcat/webapps/struts-exercise-taglib"
><Directory "/opt/jakarta-tomcat/webapps/struts-exercise-taglib">
>	 Options Indexes MultiViews All
>	 AllowOverride FileInfo AuthConfig Limit
>	 <Limit GET POST>
>			Order deny,allow
>			Deny from all
>			Allow from 192.168.250.
>	 </Limit>
></Directory>
>JkMount /struts-exercise-taglib ajp13
>JkMount /struts-exercise-taglib/* ajp13
>
>Alias /cocoon "/opt/jakarta-tomcat/webapps/cocoon"
><Directory "/opt/jakarta-tomcat/webapps/cocoon">
>	 Options Indexes MultiViews All
>	 AllowOverride FileInfo AuthConfig Limit
>	 <Limit GET POST>
>			Order deny,allow
>			Deny from all
>			Allow from 192.168.250.
>	 </Limit>
></Directory>
>JkMount /cocoon ajp13
>JkMount /cocoon/* ajp13
>
></IfModule>
>
>
>  
>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message