Thursday, November 25, 2010

Customize the Nginx Server:Apache

  1. vi src/http/ngx_http_header_filter_module.c
  2. static char ngx_http_server_string[] = "Server: Apache" CRLF;
  3. static char ngx_http_server_full_string[] = "Server: Apache" CRLF;
  4. configure, make, make install.

Monday, November 8, 2010

how to change user-agent for chrome

C:\Users\vyang\AppData\Local\Google\Chrome\Application\chrome.exe -user-agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)"