You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Ian P. Christian" <po...@pookey.co.uk> on 2007/10/08 18:35:34 UTC
[users@httpd] mod_cache/mod_proxy, and the 'server' header.
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
Re: [users@httpd] mod_cache/mod_proxy, and the 'server' header.
Posted by Vincent Bray <no...@gmail.com>.
On 08/10/2007, Ian P. Christian <po...@pookey.co.uk> wrote:
> 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:
Preserving the backend Server: header is normal - and I imagine
standard - behaviour for mod_proxy. The only way I know to get around
it is with mod_security.
--
noodl
---------------------------------------------------------------------
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