httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurent Blume <>
Subject Re: Re[2]: [users@httpd] Bug 21242 Trailing character renders pages with code
Date Mon, 06 Sep 2004 08:24:42 GMT
Quoting Eugene <>:

> Then delete all this stuff with <Directory>
> Location should be configured like this:
>     <Location "/*.jsp">
>        JkUriSet worker ajp13:localhost:8009
>     </Location>
>     <Location "/*.jspx">
>       JkUriSet worker ajp13:localhost:8009
>     </Location>
>     <Location "/*.do">
>        JkUriSet worker ajp13:localhost:8009
>     </Location>

Hi Eugene,

Thanks for your answer, but I'm afraid that won't do: my problem was in the
first place that if I use something like <Location "/*.jsp">, then on Windows,
it's possible to have Apache serve the source code of the JSP rather than
forward it to Tomcat.

It can be done by adding a . or %20 at the end of the URL, or by putting it in caps.
Eg, index.jsp., index.jsp%20, index.JSP

So I've got to use the Deny from all in the Directory to avoid that.

Not too nice, but I've got no choice, it seems :-/

Thanks anyway,


A hundred thousand lemmings can't be wrong!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message