官方网站:
SARG官方:
wget
wget
参考资料:
测试环境:AS4+squid-3.0+sarg-2.2.5
一、安装squid
# groupadd squid
# useradd -g squid -s /sbin/nologin squid
# tar -zxvf squid-3.0.STABLE7.tar.gz
# cd squid-3.0.STABLE7
# cp helpers/basic_auth/NCSA/ncsa_auth /usr/bin/
# vi src/errorpage.cc //把下面的“ "Generated %T by %h (%s)\n"” 修改为“ "Generated %t by %h (%s)\n"”即可
{
ERR_SQUID_SIGNATURE,
"\n
\n"
"
\n"
"
\n"
"Generated %T by %h (%s)\n"
"\n"
"