Chinaunix首页 | 论坛 | 博客
  • 博客访问: 252955
  • 博文数量: 188
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: -30
  • 用 户 组: 普通用户
  • 注册时间: 2017-03-29 11:17
文章分类
文章存档

2013年(8)

2012年(5)

2011年(13)

2010年(26)

2009年(63)

2008年(20)

2007年(32)

2006年(21)

分类: LINUX

2009-08-21 17:11:15

1.编辑/root/soft/squid-2.6.STABLE22/src/errorpage.c 文件在以下地方修改
 
} error_hard_text[] = {
    {
        ERR_SQUID_SIGNATURE,
            "\n
\n"
            "
\n"
            "
\n"
            "Generated %T by %h (techcache)\n"            ;将%s修改为techcache即可
           
            "\n"
            " \n"
    },
2.然后编译、安装squid即可
 
3.修改后的出错信息为:
 
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL:
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)
阅读(986) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~