You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/02/27 13:31:04 UTC

DO NOT REPLY [Bug 33758] New: - Helpful if option for Host aliases to send redirect

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=33758>.
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=33758

           Summary: Helpful if option for Host aliases to send redirect
           Product: Tomcat 5
           Version: 5.0.29
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: sam@redspr.com


It would be helpful to have an option for the Host valve
that would send a permanent redirect when a request matches a host
alias.

This is useful to help search engines etc that apache.org would redirect
to www.apache.org so making it clear that they are the same entity.

Since this seems like a common requirement and the alias is already defined
in server.xml so tidy to implement it in the container.

NB Seems pretty safe for GETs to redirect using the original path and query
string. Im not sure about POSTs might be more problematic.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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