tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11470] New: - URL enging in / is redirected, not forwarded, to index.jsp
Date Mon, 05 Aug 2002 15:37:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11470>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11470

URL enging in / is redirected, not forwarded, to index.jsp

           Summary: URL enging in / is redirected, not forwarded, to
                    index.jsp
           Product: Tomcat 4
           Version: 4.1.8
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ian779@darwinsys.com


Any URL that ends in / gets redirected to the default page such as index.jsp.
This makes index.jsp part of the client-visible URL string, which includes
it in bookmarks. This makes it harder to change the internal structure
of your site (rename pages, etc.). AFAIK every other web server on the net, 
including Apache HTTPD and Tomcat 3, does the equivalent of a "forward", 
that is, they simply display the page when given a URL ending in /.
<br/>
Note that I am not complaining about the forward from e.g., http://a.com to
http://a.com/ - done when people are "too lazy" :-) to type the trailing / -
as I realize this is necessary for relative links to work
correctly (several people I've spoken to before filing this report have
mentioned this).

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message