QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 533|回复: 0

关于gugong兄的squid透明长理!!

[复制链接]
发表于 2003-11-6 08:13:03 | 显示全部楼层 |阅读模式
我是新手想请教gugong兄!!我按照你的方法做好了!!

ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://www.linuxsir.org/postnuke/index.php

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 [email protected].

但是出现以上信息!!我想应该是时间的限制问题,但是我不明白allow_domain里边究竟要填些什么??这个域应该怎样去定义?是否就是windows里的域??
还有下面的no_allow_time_0_1这些文件又是填些什么呢??请gugong兄给小弟详细一些的指导,最好就是把各个用途说清楚。
还有一个问题就是如果我想过滤一些网页与关键字,语法又是怎样呢??
还是请gugong 兄多多指点!!


偶是菜,但偶肯问,肯学!!!只要你教!!

--------------------------------------------------------------------------------

Generated Wed, 05 Nov 2003 10:11:21 GMT by dn2server.com (squid/2.5.STABLE3)
acl allow_domain dstdomain "/etc/squid/allow_domain"

# 下面是只允许每天上三个小时的:
acl no_allow_time_0_1 time "/etc/squid/no_allow_time_0_1"
acl no_allow_time_0_2 time "/etc/squid/no_allow_time_0_2"
acl no_allow_time_0_3 time "/etc/squid/no_allow_time_0_3"
acl no_allow_time_0_4 time "/etc/squid/no_allow_time_0_4"
acl no_allow_time_0_5 time "/etc/squid/no_allow_time_0_5"
# 完

# 下面是只允许每天上八个小时的:
acl no_allow_time_1_1 time "/etc/squid/no_allow_time_1_1"
acl no_allow_time_1_2 time "/etc/squid/no_allow_time_1_2"
acl no_allow_time_1_3 time "/etc/squid/no_allow_time_1_3"
acl no_allow_time_1_4 time "/etc/squid/no_allow_time_1_4"
acl no_allow_time_1_5 time "/etc/squid/no_allow_time_1_5"
# 完

acl no_allow_web dst "/etc/squid/no_allow_web"
acl no_allow_domain dstdomain "/etc/squid/no_allow_domain"
acl no_allow_client src "/etc/squid/no_allow_client"
#acl allow_time time "/etc/squid/allow_time"
#
acl allow_client_inf src "/etc/squid/allow_client_inf"
acl allow_client_fore src "/etc/squid/allow_client_fore"
acl allow_client_8h src "/etc/squid/allow_client_8h"
acl allow_client_3h src "/etc/squid/allow_client_3h"
#
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-15 16:03 , Processed in 0.036334 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表