httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian P. Christian" <poo...@pookey.co.uk>
Subject [users@httpd] mod_cache/mod_proxy, and the 'server' header.
Date Mon, 08 Oct 2007 16:35:34 GMT
I'm proxying requests to a backend server, and using mod_cache to cache.

I've noticed on the first request, I get the Server header from my
backend, and every request that hits cache shows the frontend Server
header, as below:

srv-08 ~ # curl -o /dev/null -D - "http://..." -s
HTTP/1.1 200 OK
Date: Mon, 08 Oct 2007 16:42:43 GMT
Server: Zope/(Zope 2.10.4-final, python 2.4.4, linux2) ZServer/1.1
Plone/3.0.1
Last-Modified: Mon, 08 Oct 2007 09:25:36 GMT
Content-Length: 5730
Content-Type: image/jpeg
Accept-Ranges: bytes

srv-08 ~ # curl -o /dev/null -D - "http://..." -s
HTTP/1.1 200 OK
Date: Mon, 08 Oct 2007 16:42:45 GMT
Server: Apache
Content-Type: image/jpeg
Last-Modified: Mon, 08 Oct 2007 09:25:36 GMT
Content-Length: 5730
Accept-Ranges: bytes
Age: 837


How can I hide my backend server header?

Thanks!

-- 

Ian P. Christian ~ pookey.co.uk

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message