tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mladen.t...@jboss.com>
Subject Re: how do i prevent tomcat5 from adding trailing slash?
Date Fri, 01 Jul 2005 14:07:06 GMT
Sheets, Jerald wrote:
> In your mod_jk.conf, you have JkMount directives like so:
> 
> JkMount /servlet/* ajp13
> JkMount /jsp-examples/* ajp13
> JkMount /servlets-examples/* ajp13
> 
> I find that in your mounts that if you simply remove the trailing slash
> in these, you can then call those URIs without the slash:
> 
>  
> JkMount /servlet* ajp13
> JkMount /jsp-examples* ajp13
> JkMount /servlets-examples* ajp13
>

Also from 1.2.13 you can do:

JkMount /servlet|* ajp13
JkMount /jsp-examples|* ajp13
JkMount /servlets-examples|* ajp13

This is equivalent for:

JkMount /servlet ajp13
JkMount /jsp-examples ajp13
JkMount /servlets-examples ajp13

JkMount /servlet/* ajp13
JkMount /jsp-examples/* ajp13
JkMount /servlets-examples/* ajp13

Regards,
Mladen.

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


Mime
View raw message