文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>修改源码去除Squid版本信息

修改源码去除Squid版本信息

时间:2009-08-21  来源:ly_cyz

1.编辑/root/soft/squid-2.6.STABLE22/src/errorpage.c 文件在以下地方修改   } error_hard_text[] = {     {
        ERR_SQUID_SIGNATURE,
            "\n<BR clear=\"all\">\n"
            "<HR noshade size=\"1px\">\n"
            "<ADDRESS>\n"
            "Generated %T by %h (techcache)\n"            ;将%s修改为techcache即可
           
            "</ADDRESS>\n"
            "</BODY></HTML>\n"
    },
2.然后编译、安装squid即可   3.修改后的出错信息为:   ERROR
The requested URL could not be retrieved
-------------------------------------------------------------------------------- While trying to retrieve the URL: http://192.168.30.29/ The following error was encountered: Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
Your cache administrator is webmaster. test5.com   -------------------------------------------------------------------------------- Generated Tue, 28 Jul 2009 16:31:11 GMT by test5.com (techcache)
相关阅读 更多 +
排行榜 更多 +
边境检察最后区域手机版下载

边境检察最后区域手机版下载

角色扮演 下载
酋长你别跑手游下载

酋长你别跑手游下载

休闲益智 下载
心动漫画app下载官方版

心动漫画app下载官方版

浏览阅读 下载