httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21242] - Trailing character renders pages with code
Date Wed, 01 Sep 2004 15:46:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=21242>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=21242

Trailing character renders pages with code





------- Additional Comments From laurent@elanor.org  2004-09-01 15:46 -------
Please note that I followed the official JK2 documentation in doing so:
http://jakarta.apache.org/tomcat/connectors-doc/jk2/jk2/vhosthowto.html#APPENDIX%20A:%20httpd.conf

I tried your config, .jsp are interpreted by Tomcat, but source is still
displayed with .jsp%20

I tried with .JSP, it does not work in either config. With each, Apache send it
to Tomcat, and Tomcat gives a 404.

I tried with .JSP%20, it does display the source, with both configs.

And of course, even without JSPs, I'd expect Apache to return a 404 when trying
to access .html%20

I think that the problem arise because Apache does not consider that
index.jsp%20 is matched by *.jsp, and therefore, does not send it to Tomcat, but
serves it itself.
If it did send it, the problem would be less annoying, since I'd probably get a
404 from Tomcat.

Tomcat seems to be more restrictive than Apache. I remember that Tomcat used to
display the source with an extra %20, too, but that was fixed long ago. I also
noticed at the time that it did not change on my system, but I wasn't so sure
whether it was Tomcat, Apache, or the connector, and didn't get an answer. So I
found a workaround.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message