亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 1520 | 回復(fù): 4
打印 上一主題 下一主題

求教squid問題 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2006-04-24 12:11 |只看該作者 |倒序瀏覽
1.squid設(shè)好之后,有的網(wǎng)站解析失敗,而用iptables 直接出就沒有問題,
2.squid有時侯變得很慢,不知道是什么原因.

  懇請賜教.謝謝!  

  squid設(shè)置如下:


http_port 192.168.0.11:808
cache_mem 20 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size = 1024
cache_dir ufs /etc/squid/var/cache 100 16 256
cache_access_log /etc/squid/var/logs/access.log
cache_log /etc/squid/var/logs/cache.log
ftp_user squid@
acl all src 0.0.0.0/0.0.0.0
acl ourclient src 192.168.0.0/24
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
memory_pools on
memory_pools_limit 256MB

acl Safe_ports port 21 #ftp
acl Safe_ports port 23
acl Safe_ports port 25
acl Safe_ports port 110
acl Safe_ports port 443 563 #ftp
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 480
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access allow ourclient
http_access allow Safe_ports
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports


http_access deny all
icp_access allow all

論壇徽章:
0
2 [報告]
發(fā)表于 2006-04-24 13:12 |只看該作者
dns_nameservers 202.99.160.68 202.99.168.8
visible_hostname domain.com
httpd_accel_uses_host_header on
httpd_accel_host virtual

論壇徽章:
0
3 [報告]
發(fā)表于 2006-04-24 13:18 |只看該作者
謝謝! 我試試先.

論壇徽章:
0
4 [報告]
發(fā)表于 2006-04-24 13:32 |只看該作者
不行,還是不能解析錯誤提示如下:


ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http://www.tiexue.net/ItemsArchive/6/21/2479.htm

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.
Generated Tue, 07 Dec 1999 12:21:31 GMT by www.hope.cn (squid/2.5.STABLE10)

論壇徽章:
0
5 [報告]
發(fā)表于 2006-04-24 13:37 |只看該作者
把httpd_accel_host virtual注釋掉剛才可以了,沒有了錯誤提示.別的還沒有試.不知道什么原因.
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP