سلام دوستان من 2003 به همراي ccpro*xy و كش Squid دارم نمي دونم چرا دانلود ها به آن منتقل نميشه ولي وقتي ip و پورت از كش ميزنم راحت وصل هست اينم تنظيمات كش
### Core Configuration
http_port 3128 vhost
cache_mem 706 MB
dead_peer_timeout 30 seconds
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
maximum_object_size 32768 KB
maximum_object_size_in_memory 64 KB
minimum_object_size 0 KB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap LFUDA
cache_effective_user proxy
cache_effective_group proxy
cache_swap_high 95%
cache_swap_low 90%
visible_hostname Cache
cache_mgr admin@cache
quick_abort_min 5 KB
quick_abort_max 32 KB
quick_abort_pct 95
negative_ttl 3 minutes
positive_dns_ttl 12 hours
pipeline_prefetch on
half_closed_clients off
### LOGS
cache_access_log /var/log/squid3/access.log
cache_log /var/log/squid3/cache.log
cache_swap_log /var/log/squid3/%s
cache_store_log none
### Warning
high_memory_warning 0
high_response_time_warning 1
high_page_fault_warning 1
--More--
lastmod
### Access Control List
#acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
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 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl valids src 192.168.1.0/255.255.255.0
### No cache example
#acl no_cache_domain dstdomain example.com
#no_cache deny no_cache_domain
acl Purge method PURGE
http_access allow localhost Purge
http_access deny PURGE
always_direct allow all
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny to_localhost
http_access allow localhost
http_access allow valids
http_access deny all
http_reply_access allow all
### SNMP
acl snmpkey snmp_community somepublickey
snmp_port 3401
snmp_access allow snmpkey localhost
snmp_access deny all
### Cache Dir Section
cache_dir aufs /cache1/ 11341 160 2560
cache_dir aufs /cache2/ 11341 160 2560
cache_dir aufs /cache3/ 11341 160 2560
cache_dir aufs /cache4/ 11341 160 2560
acl files urlpath_regex -i \.doc$ \.iso$ \.swf$ \.exe$ \.mpg$ \.mpeg$ \.bmp$ \$.txt$ \.dat$ \.dll$ \.mp3$ \.3gp$ \.cab$ \.psf$ \.flv$ \.pdf$ \.ra$ \.ram$ \.avi$ \.wma$ \.wmv$ \.js$ \.css$ \.xml$ \.zip$ \.rar$ \.jar$ \.sis$ \.bin$ \.rpm$ \.png$ \.jpg$ \.jpeg$ .jpg .gif*
cache_peer 192.168.1.3 parent 8080 0 default no-query
never_direct allow files
always_direct allow !files
با استور زير در كش ارتباط هست و سايت از آن مسي مي خواند
http_proxy=http://192.168.1.3:8080/ lynx Yahoo!
موضوعات مشابه:
- مسيريابي
- آيا نرم افزار كنترل چند خط تلفن مي شناسيد؟
- به داد من برسيد
- ميخوام يه كافي و گيم نت بزنم .. بسيار بسيار مبتدي هستم ، راهنمايي كنيد ...