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 34648] - AJP uses Host header not ServerName directive from Apache
Date Wed, 27 Apr 2005 17:10:08 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=34648>.
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=34648





------- Additional Comments From dhopper@bzresults.com  2005-04-27 19:10 -------
We currently are using mod_header to rewrite the header, but the problem with
this is when it gets to tomcat and if you do a redirect it uses the new header.
 For instance if you are using mod_header and rewriting to www.testhost.com.
Lets say a user access www.testhost2.com and a redirect is done, it will
redirect back to www.testhost.com.  This is problamatic with portals.  Also,
with portals we may want to show different content if they are accessing the
site via www.testhost.com or from www.testhost2.com, and with the rewritten
header it will always appear to be from www.testhost.com.  We have been
uneventful in finding a work around for this which is what brought me here.  I
tried the exact same configuration with Resin, changing nothing in apache
besides adding the LoadModule for resin's module and it works just fine using
ServerName which is what I would like to see in tomcat.

I know this isn't a bug, but it doesn't follow the pattern you would expect.  I
would expect it to operate like resin did.

-- 
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


Mime
View raw message