将 Apache Http Server 配置成代理服务器并添加正则表达式过滤功能,在 httpd.conf 末尾添加如下内容:
ProxyRequests On
RequestHeader unset Accept-EncodingFilterDeclare CUSTOMFILTER
FilterProvider CUSTOMFILTER SUBSTITUTE resp=Content-Type $text/html
FilterChain +CUSTOMFILTER
Substitute "s/China/XCHINAX/n"