40#
大 中
小 发表于 2003-11-5 18:35 只看该作者
我是新手想请教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 webmaster@fruitron.com.cn.
但是出现以上信息!!我想应该是时间的限制问题,但是我不明白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"
#
When You Learn,Teach;When You Get,Give.
(当你学会了,尝试去教人;当你获得了,尝试去给予)
|