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 2002/02/16 00:13:44 UTC
DO NOT REPLY [Bug 5706] -
Redirect to default host
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=5706>.
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=5706
Redirect to default host
craig.mcclanahan@sun.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From craig.mcclanahan@sun.com 2002-02-15 23:13 -------
Changing this would break the existing configuration of everyone who uses the
default settings, because a request to "http://foo:8080" (where "foo" is not a
known hostname) would get redirected to "http://localhost:8080". This redirect
is only valid if your browser is on the same server that Tomcat is running on.
If you don't want the automatic handling of the default host capability, you can
turn it off by removing the defaultHost attribute from the <Engine> element.
Then, Tomcat will return a "bad request" status for unknown hosts.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>