christophe.dumo...@ifma.fr wrote:
...
Suggestion :
instead of using the JkMount/JkUnMount way of configuring your forwarded URLs, use the way described here :
http://tomcat.apache.org/connectors-doc/reference/apache.html
in the section : Using SetHandler and Environment Variables

In other words, instead of
  JkMount /myapp worker1
  JkMount /myapp/* worker1
  (JkUnMount /myapp/*.gif worker1)
use

<Location /myapp>
  SetHandler jakarta-servlet
  (SetEnvIf REQUEST_URI ^/myapp/.+\.gif no-jk)
  ...
</Location>

I find that it makes it much clearer what has precedence over what, because it fits better in the Apache general configuration logic.


Also, do not forget that in order for JkMount etc.. to be active in VirtualHosts (if you set them in the main part of the configuration), you have to use JkMountCopy in the VirtualHost.
Search for "JkMountCopy" on that same page.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to