Hi,

If you take a look at Ajp14 documentation, you'll see
the JkAutoMount directive :

Rigth now it at the following synthax :

JkAutoMount workername [virtualhost]

This tell mod_jk to ask for ALL contexts available on 
the servlet-engine corresponding to workername.

In tomcat 3.x current case you'll get all stuff under
/examples, /admin, / .....

The second parameter, virtualhost, will be used to have
ONLY the URLs handled by the server-engine for a virtualhost.

Wouldn't it be more wise to use instead :

JkAutoMount workername context context-mount-uri

ie: 

JkAutoMount workername examples /examples

which will make the servlet-engine respond :

/examples/servlet/* /examples/*.jsp 

A way to keep autoconf features but under the web-server 
admin staff.... Then you could have JkAutoMount directives
in all your virtual hosts part of your web-server :

<VirtualHost myaltside:80> 
JkAutoMount myworker examples /examples
</VirtualHost> 

<VirtualHost myaltside:443> 
JkAutoMount myworker admin /admin
</VirtualHost> 

Thanks to comment since the AJP14 login procedure is finished
(code to be commited tommorrow on both java/native), and I'll 
start the autoconf part right now.

-
Henri Gomez                 ___[_]____
EMAIL : [EMAIL PROTECTED]        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 

Reply via email to