昨天配置nginx的时候说道隐藏版本信息的问题,今天就罗列一下
要操作的信息列表nginx版本信息查询及隐藏
Apache版本信息查询及隐藏
php版本信息查询及隐藏
tengine版本信息查询及隐藏
tomcat版本信息查询及隐藏
详细操作步骤
1.1、nginx版本信息查询[root@zhuima_nginx ~]# nginx -vnginx version: nginx/1.6.0
1.2、nginx编译配置参数查询[root@zhuima_nginx ~]# nginx -V
nginx version: nginx/1.6.0
built by gcc 4.4.7 20120313 (Red Hat4.4.7-4) (GCC) TLS SNI support enabledconfigure arguments: --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module
--with-http_ssl_module --with-http_gzip_static_module --with-ipv6
1.3、客户端查看nginx的Response Header信息[root@zhuima_client ~]# curl -I HTTP/1.1 200 OKServer: nginx/1.6.0
Date: S at, 19 Jul 2014 02:18:54
GMTContent-Type: text/html
Content-Length: 16412
Last-Modified: Mon, 07 Jul 2014 05:25:22 G MT
Connection: