tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GOMEZ Henri <hgo...@slib.fr>
Subject RE: AJP 1.3 connector for Tomcat 4.0
Date Fri, 28 Sep 2001 10:15:01 GMT
The standard stuff found in TC 3.2/3.3 

http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html


in httpd.conf

JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile 	  /var/log/httpd/mod_jk.log
JkLogLevel 	  error
JkOptions  +ForwardKeySize 

JkMount /examples/servlet/* ajpcon
JkMount /examples/*.jsp ajpcon

If Apache run on the same system that tomcat 
and you want it to server static files :

Alias /examples "/var/tomcat4/webapps/examples"
<Directory "/var/tomcat4/webapps/examples">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
</Directory>

<Location "/examples/WEB-INF/">
    AllowOverride None
    deny from all
</Location>


in workers.properties :

worker.list=ajpcon

worker.ajpcon.port=8009
worker.ajpcon.host=localhost
worker.ajpcon.type=ajp13
worker.ajpcon.lbfactor=1


Mime
View raw message