Hello
My squid 2.3.STABLE4 works as accelerated server for web server
on different
machine. It works fine, but now I need to hide some headers coming from
my web server to clients via squid. Web server generates Server header
and squid gladly posts it to all clients. Here are my results:
>telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / HTTP/1.1
HTTP/1.0 200 OK
Server: Microsoft-IIS/4.0
Date: Tue, 22 Aug 2000 13:43:40 GMT
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Wed, 05 Jul 2000 09:37:33 GMT
ETag: "c0375ba564e6bf1:1427"
Content-Length: 2848
Age: 701
X-Cache: HIT from my.hostname
Connection: close
And one more result:
$ ./chkwww w.x.y.z
--------------------------------[
Stats]------------------------------------
IP address: w.x.y.z
Hostname: w.x.y.z
Official hostname: my.hostname
Server can resume: No
Server running: Microsoft-IIS/4.0
------------------------------------------------------------------------------
All I need is to hide the kind of my web server, not to accelerate it.
Playing with anonymize_headers to remove server header is useless since
it parses only outgoing requests (I think so, because setting it does
nothing with headers above). I tried these settings:
anonymize_headers deny Server
anonymize_headers deny From Referer Server
anonymize_headers deny X-Cache
Unfortunatelly it does nothing, even if I deny all headers nothing
changes.
What should I do to remove some headers from both incoming and outgoing
requests?
Marcin Mogielnicki
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Tue Aug 22 2000 - 07:46:51 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:57 MST