ของผมขึ้น ตัวลูกขึ้น access denied เช่นกันครับใส่ # หน้า acl localnet src ก็โหลดไม่ได้ครับ แต่ถ้าเป็นพวก https:// กลับโหลดได้ครับงงเลย ไม่ทราบว่าผมต้องแก้ไขตรงไหนครับ
รบกวนวิเคราะห์ด้วยครับ
ที่ผมใช่อยู่
http_port 8080
icp_port 0
cache_swap_high 100%
cache_swap_low 80%
shutdown_lifetime 3 seconds
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 8 MB
emulate_httpd_log on
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
#cache_replacement_policy heap LFUDA
#memory_replacement_policy heap LFUDA
maximum_object_size 4096 KB
minimum_object_size 0 KB
request_body_max_size 0 KB
half_closed_clients off
log_mime_hdrs off
maximum_object_size_in_memory 32 KB
cache_dir ufs c:/squid/cache 200 16 256
#cache_access_log c:/squid/var/logs/access.log
#cache_store_log c:/squid/var/logs/store.log
#cache_log c:/squid/var/logs/cache.log
cache_access_log none
cache_store_log none
cache_log none
pid_filename none
mime_table c:/squid/etc/mime.conf
#pid_filename c:/squid/var/logs/squid.pid
#logfile_rotate 0
#coredump_dir c:/squid/var/cache
#log_icp_queries off
acl manager proto cache_object
acl keyword dstdom_regex gator gartor
http_access allow keyword
acl localhost src 127.0.0.1/255.255.255.255
acl Safe_ports port 80 443 210 70 21 1025-65535
acl CONNECT method CONNECT
acl all src 0.0.0.0/0.0.0.0
http_access allow localhost
http_access deny !Safe_ports
http_access allow CONNECT
http_access deny all
icp_access deny all
cache_effective_user squid
cache_effective_group squid
#buffered_logs off
ftp_user
[email protected]ftp_passive on
visible_hostname proxyserver_by_siamcafe.net
cache_mgr
[email protected]#ส่วนของ Proxy ของ isp ใช้ isp ใหนเลือก isp นั้นๆโดยการเอาเครื่องหมาย # ออก
#cache_peer proxy.loxinfo.co.th sibling 8080 3130 no-query
#cache_peer proxy.samarts.com sibling 8080 3130 no-query
#cache_peer proxy.anet.net.th parent 8080 3130 no-query
#cache_peer proxy.asiaaccess.net.th parent 8080 3130 no-query
#cache_peer proxy.asianet.co.th parent 8080 3130 no-query
#cache_peer proxy.cscoms.com parent 8080 3130 no-query
#cache_peer proxy.cwn.net.th parent 8080 3130 no-query
#cache_peer proxy.linethai.co.th parent 8080 3130 no-query
#cache_peer netproxy1.inet.co.th parent 8080 3130 no-query
#cache_peer proxy.idn.co.th parent 8080 3130 no-query
#cache_peer proxy.infonews.co.th parent 8080 3130 no-query
#cache_peer proxy.ji-net.com parent 8080 3130 no-query
#cache_peer proxy.ksc.net.th parent 8080 3130 no-query
#cache_peer proxy.loxinfo.co.th parent 8080 3130 no-query
#cache_peer proxy.roynet.co.th parent 8080 3130 no-query
#cache_peer proxy.samart.co.th parent 8080 3130 no-query
#cache_peer proxy.sgn.net.th parent 8080 3130 no-query
#cache_peer proxy.siamit.co.th parent 8080 3130 no-query
ie_refresh on
forwarded_for on
dns_nameservers 202.183.255.20
dns_nameservers 203.144.222.232
#หากต้องการใช้ Transparent Porxy ของ Squid กรุณาเอาเครื่องหมาย # 4 หน้าบรรทัดล่างนี้ ออกด้วยครับ
#httpd_accel_host virtual
#httpd_accel_port 80
#httpd_accel_with_proxy on
#httpd_accel_uses_host_header on
#หากต้องการ Block ไม่ให้ Download ก็เอา เครื่องหมาย # ออกตามด้านล่างนี้นะครับ
#acl denymp3 urlpath_regex -i \.mp3$ #ห้ามดาวน์โหลดเพลง
#acl denyexe urlpath_regex -i \.exe$ #ห้ามดาวน์โหลดไฟล์นามสกุล exe
#acl denyzip urlpath_regex -i \.zip$ #ห้ามดาวน์โหลด zip
#acl denyrar urlpath_regex -i \.rar$ #ห้ามดาวน์โหลด rar
#acl denyrom urlpath_regex -i \.rom$ #ห้ามดาวน์โหลด rom
#acl denyram urlpath_regex -i \.ram$ #ห้ามดาวน์โหลด ram
#http_access deny denymp3
#http_access deny denyexe
#http_access deny denyzip
#http_access deny denyrar
#http_access deny denyrom
#http_access deny denyram