藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 網絡通訊


    

藍森林 http://www.lslnet.com 2006年7月26日 13:28

配置squid的問題

./configure --prefix=/usr/local/squid
make all
make install

然後按照squid.2.4-SATABLE的QUICKSTART配置好了squid.conf


我的配置如下:
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl allowed_hosts src 210.12.224.192
# 210.12.224.192是另一台要使用我這台機器作為proxy的機器的ip地址

http_access deny manager all
http_access allow allowed_hosts
http_access deny all
icp_access allow allowed_hosts
icp_access deny all

我的cache_peer沒有設置
cache_mem設的是 4M
cache_dir /usr/local/squid/cache 100 16 256
cache_mgr設置的是我的Email
cache_effctive_user 設置的是 nobody
visible_hostname沒有設置


然後執行 squid -z
然後 squid

別的機器設這台機器為代理 訪問不了網頁(說找不到網頁) 不知道為什麼。

要說的更清楚才行

你用ps -A看看有沒有squid這個進程,而且客戶端無法瀏覽具體顯示什麼信息?

Re: 要說的更清楚才行

謝謝你 我的問題解決了
我沒有設置 logs目錄的權限





Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com