ต้องแก้ไขยังไงครับ เซต squid แล้ว พอเข้าหน้าเวปที่ต้อง login จะขึ้น error ว่า The requested URL could not be retrieved โดย squid ที่เซตเป็นการเซตผ่านออกทาง cache_peer ของ ตัว proxy ตัวอื่น
ค่า squid.conf ตามนี้ครับ
http_port 8080
icp_port 3130
cache_peer 202.25.208.120 parent 8045 3130 no-query no-digest
icp_query_timeout 2000
dead_peer_timeout 10 seconds
#hierarchy_stoplist cgi-bin ? localhost .asp .aspx .php .inf .dll .Xt .xtp .ini localhost php$ inf$ dll$ Xt$ xtp$ ini$ asp$ aspx$
#acl QUERY urlpath_regex cgi-bin \? localhost .asp .aspx .php .inf .dll .Xt .xtp .ini .exe localhost php$ inf$ dll$ Xt$ xtp$ ini$ asp$ aspx$
#no_cache deny QUERY
cache_mem 256 MB
cache_dir ufs /var/spool/squid 1000 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
dns_nameservers 146.158.2.9 146.158.2.8 202.25.219.85 202.25.211.85
#auth_param digest program <uncomment and complete this line>
#auth_param digest children 5
#auth_param digest realm Squid proxy-caching web server
#auth_param digest nonce_garbage_interval 5 minutes
#auth_param digest nonce_max_duration 30 minutes
#auth_param digest nonce_max_count 50
#auth_param ntlm program <uncomment and complete this line to activate>
#auth_param ntlm children 5
#auth_param ntlm max_challenge_reuses 0
#auth_param ntlm max_challenge_lifetime 2 minutes
#auth_param ntlm use_ntlm_negotiate off
#auth_param basic program <uncomment and complete this line>
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
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 21 443 563 70 210 280 488 591 777 1025-65535
acl SSL method CONNECT
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow CONNECT SSL_ports
acl our_networks src 146.158.0.0/16 195.1.212.0/24
http_access allow our_networks
http_access allow localhost
http_reply_access allow all
icp_access allow all
cache_mgr root
visible_hostname fdr10
never_direct allow SSL
#never_direct allow CONNECT
coredump_dir /var/spool/squid