apache server header
hello, i done a lot a research on apache header.. what i try to do
it's take the server header out when the web server reponse to the
client.. i did it(it's working fine now), but i don't know if there
any harm to the web server.. or maybe cause some internal error
something like that down the road.... so i like to get your
advices on that.. here what i did ..
apache version 1.3.29
file: src/main/http_protocol.c
i commment line from 1605-->1613
/* if (r->proxyreq) {
const char *server = ap_table_get(r->headers_out, "Server");
if (server) {
ap_send_header_field(r, "Server", server);
}
}
else {
ap_send_header_field(r, "Server", ap_get_server_version());
}
*/
also here's my new server header
(Response Status) HTTP/1.1 200 OK
Accept-Ranges bytes
Connection close
Content-Encoding gzip
Content-Length 2762
Content-Type text/html
Date Thu, 11 Mar 2004 09:44:41 GMT
ETag "8f78c-4b23-3ca3437a"
Last-Modified Thu, 28 Mar 2002 16:23:22 GMT
it's seen working fine now...
please give some advices
thanks
|