You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joseph Shraibman <jk...@selectacast.net> on 2004/07/23 01:18:27 UTC
[users@httpd] Question on
I have this <Location> to tell apache (2.0.50) to have all jsps handled
by tomcat.
<Location "/*.jsp">
JkUriSet worker ajp13:localhost:8009
</Location>
The problem is that this works for jsps in the top level but not jsps in
subdirectories. What am I doing wrong?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Question on
Posted by Joshua Slive <js...@gmail.com>.
On Thu, 22 Jul 2004 19:18:27 -0400, Joseph Shraibman
<jk...@selectacast.net> wrote:
> I have this <Location> to tell apache (2.0.50) to have all jsps handled
> by tomcat.
>
> <Location "/*.jsp">
> JkUriSet worker ajp13:localhost:8009
> </Location>
>
> The problem is that this works for jsps in the top level but not jsps in
> subdirectories. What am I doing wrong?
Wildcards in apache have the same characteristics as shell wildcards:
they don't match the "slash" character. A possible alternative is
<LocationMatch "/.*\.jsp"> which uses a regular expression rather than
a wildcard, and will hance match anything.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org