mod_cache/mod_proxy, and the 'server' header.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux