Bug 38002 - URLs proxied with the AJP protocol don't include a Server header
Summary: URLs proxied with the AJP protocol don't include a Server header
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy (show other bugs)
Version: 2.2.0
Hardware: PC Solaris
: P2 minor (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2005-12-22 04:19 UTC by william.barker
Modified: 2006-01-28 16:57 UTC (History)
0 users



Attachments
Patch against trunk to fix this (441 bytes, patch)
2005-12-22 04:21 UTC, william.barker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description william.barker 2005-12-22 04:19:05 UTC
By default, Tomcat dosen't include a Server response header when connected via 
the AJP protocol (since, in this case it isn't a HTTP server).  However, for a 
proxied connection, Httpd doesn't add the Server response header either unless 
the upstream server sent one (which is really only valid for 
mod_proxy_http :). 

The result is that the browser doesn't get to see any Server header at all in 
this case.  I realize that this is an optional response header, but it would 
still be nice to have it (before Httpd's market share numbers drop :).
Comment 1 william.barker 2005-12-22 04:21:44 UTC
Created attachment 17256 [details]
Patch against trunk to fix this
Comment 2 Jim Jagielski 2006-01-19 22:27:40 UTC
Thanks for the report and patch. Will investigate. Not sure if using our server info is "right" but is likely the 
best option.
Comment 3 Jim Jagielski 2006-01-27 20:56:39 UTC
Fixed in HEAD httpd-trunk. Will propose for 2.2.x backport.
Comment 4 william.barker 2006-01-29 01:57:18 UTC
(In reply to comment #3)
> Fixed in HEAD httpd-trunk. Will propose for 2.2.x backport.

Really nice of you to give me credit, even though looking back, my posted 
patch was completely hosed :(.  If reversed on Tomcat, I'd have probably only 
given a 'Based On Patch By:' attribution.

Hopefully, you'll get your additional two +1s for 2.2.x, but I'm way used to 
running patched Httpd builds by now :).