- 论坛徽章:
- 0
|
使用squid配置如下
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl mylinux src 192.168.168.0-192.168.168.255
acl mmxfile urlpath_regex -i \.mp3$ \.avi$ \.rm$ \.mpeg$ \.wma$ \.mpg$ \.ram$ \.wma$
acl btfile urlpath_regex -i \.torrent$
acl DNS port 53
acl work time MTWHF 9:00-17:30
acl 6868 port 6868
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
http_access deny btfile
http_access deny mmxfile work
http_access allow localhost
http_access allow mylinux
http_access allow DNS
http_access allow 6868
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr aidc@gicom.com.cn
cache_effective_user squid
cache_effective_group squid
visible_hostname squid
httpd_accel_host squid
httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
logfile_rotate 10
forwarded_for off
icon_directory /usr/local/squid/share/icons
error_directory /usr/local/squid/share/errors/Simplify_Chinese
coredump_dir /var/spool/squid/cache
现在问题是登陆leadBBS是正常,但想更改资料时就报告没登陆,可抬头还显示我已登陆了,不知问什么,请帮忙看看。 |
|