On Fri, 29 Jun 2001, Donald Ball wrote:
> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
> port="8009" acceptCount="10" debug="0"/>
>
> and i built mod_jk.so and put it in my libexec directory, but i don't know
> how to configure mod_jk in apache's httpd.conf for tomcat-catalina. do you
> have some configuration advice for this situation?
The server side configuration for Ajp13 should be identical for tomcat3
and tomcat4. To get started ( and if you don't have too many static
files) you can map the whole context.
One of the problems in mod_jk ( I think it's also a problem in webapp ) is
to do the configuration in such a way that mapping is done internally by
the web server, instead of beeing duplicated ( and adding an overhead for
_each_ web server access, not only for servlets ). This and serving static
files directly are the reason for the complexity in mod_jk configuration.
Autoconfiguration ( that will be part of ajp14 ) will give an ilusion of
simplicity, and allow the use of apache+tomcat with minimal configuration,
( but to get the most out of the system you need far more than what
is available in web.xml and server.xml ).
Costin