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:22:17 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 slive@apache.org  2004-09-01 15:22 -------
No, the problem is with the use of the <Location> section, which
should *never* be used to restrict access to something in the
filesystem.  (You are using it to restrict access in the sense that
you are preventing access to the source code.)  You could probably get
the source code simply by requesting files.JSP with your configuration.

Try this instead:
<Directory /full/path/to/directory>
<Files *.jsp>
JkUriSet worker ajp13:localhost:8009
</Files>
</Directory>
(I haven't tested this myself, but it should be closer.)

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


Mime
View raw message