rekan milis yang canggih mo nanya neeh kenapa seeh squid yang saya gunakan tidak dapat mengupdate site sendiri. contoh untuk situs yang selalu update setiap hari tetapi di client menampilkan website yang kemarin/lama. kalau menggunakan no cache di squid.conf kan tidak efisien bagaimana cara agar squid dapat membedakan site mana yang selalu update dan yang jarang sekali di update. klo proxy di lepas gak ada masalah mungkin perlu saya masukkan konfigurasi saya sbb: http_port 3128 8080 icp_port 3130 udp_incoming_address 0.0.0.0 udp_outgoing_address 255.255.255.255 icp_query_timeout 0 hierarchy_stoplist cgi-bin ? .js .jsp acl QUERY urlpath_regex cgi-bin \? acl QUERY2 url_regex "/etc/wormurl" no_cache deny QUERY QUERY2 cache_mem 48 MB cache_swap_low 90 cache_swap_high 95 maximum_object_size 192 MB minimum_object_size 0 KB maximum_object_size_in_memory 256 KB ipcache_size 1024 ipcache_low 90 ipcache_high 95 fqdncache_size 1024 cache_replacement_policy heap LFUDA memory_replacement_policy heap GDSF memory_pools on cache_dir ufs /cache1 16500 64 256 cache_dir ufs /cache2 16500 64 256 cache_dir ufs /cache3 12000 64 256 cache_dir ufs /cache4 12000 64 256 cache_dir ufs /cache5 3500 64 256 cache_dir ufs /cache6 1000 64 256 cache_dir ufs /cache7 1000 64 256 cache_dir ufs /cache8 500 64 256 cache_access_log /var/log/squid/access.log cache_log /var/log/squid/cache.log cache_store_log none emulate_httpd_log on log_ip_on_direct on pid_filename /var/log/squid/squid.pid debug_options ALL,1 log_fqdn off client_netmask 255.255.255.255 ftp_user [EMAIL PROTECTED] ftp_list_width 32 ftp_passive on dns_children 20 hosts_file /etc/hosts shutdown_lifetime 10 seconds redirect_rewrites_host_header on auth_param basic children 5 auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours request_header_max_size 10 KB request_body_max_size 0 KB refresh_pattern ^ftp: 10080 95% 241920 reload-into-ims refresh_pattern . 180 95% 120960 reload-into-ims refresh_pattern ^gopher:// 30 20% 120 refresh_pattern . 480 50% 22160 refresh_pattern -i \.gif$ 10080 90% 43200 refresh_pattern -i \.jpg$ 10080 90% 43200 refresh_pattern -i \.com\.gov\.au 30 20% 120 refresh_pattern -i \.html$ 480 50% 22160 refresh_pattern -i \.htm$ 480 50% 22160 -------idem kaya diatas untuk ext lain-------- quick_abort_min 0 KB quick_abort_max 1 KB quick_abort_pct 99 range_offset_limit 100 KB persistent_request_timeout 2 minute client_lifetime 1 day half_closed_clients off acl all src 0.0.0.0/0.0.0.0 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 Bad_ports port 1214 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 563 # https, snews acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny Bad_ports http_access deny CONNECT !SSL_ports acl worm url_regex "/etc/wormurl" acl our_networks src 10.10.0.0/255.255.252.0 acl batasan urlpath_regex [-i] \.EXE$ \.exe$ \.cab$ \.dll$ \.tar.gz$ \.gz$ \.tgz$ \.rpm$ \.zip$ \.tar$ \.iso$ \.doc$ \.xls$ \.mpeg$ \.avi$ \.mp3$ \.wav$ \.iso$ \.rm$ \.mwv$ \.dat$ \.pdf$ \.rar$ \.psf$ acl mrtg_server src 202.58.65.0/255.255.255.240 http_access deny worm http_access allow our_networks http_access deny all http_reply_access allow all icp_access allow all reply_body_max_size 0 allow all cache_mgr [EMAIL PROTECTED] cache_effective_user squid cache_effective_group squid visible_hostname otong httpd_accel_port 80 httpd_accel_host virtual httpd_accel_single_host off httpd_accel_with_proxy on httpd_accel_uses_host_header on header_access Accept-Encoding deny all logfile_rotate 10 tcp_recv_bufsize 0 bytes forwarded_for on log_icp_queries off icp_hit_stale off client_db on buffered_logs on reload_into_ims off pipeline_prefetch on vary_ignore_expire on acl local-server dstdomain .otong.net acl local-server dstdomain .otong.net acl soccernet dstdomain .soccer.net .soccernet.com acl sports dstdomain .sportshandicappingforum.com acl HTTP proto HTTP always_direct deny HTTP acl FRIENDSTER dstdomain .friendster.com never_direct deny our_networks never_direct allow FRIENDSTER never_direct allow all no_cache deny local-server soccernet sports acl YahooMail dstdomain .yahoo.com no_cache deny YahooMail snmp_port 3401 acl snmppublic snmp_community otongsnmp snmp_access allow snmppublic localhost snmp_access allow snmppublic mrtg_server snmp_access deny all delay_pools 3 delay_class 1 3 delay_parameters 1 1600000/1600000 -1/-1 8000/50000 delay_access 1 allow batasan delay_access 1 deny all max_open_disk_fds 0 offline_mode off uri_whitespace strip ie_refresh on mungkin ada yang salah atau kurang atau lebih mohon pencerahannya __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] Arsip, FAQ, dan info milis di http://linux.or.id/milis Tidak bisa posting? Baca: http://linux.or.id/problemmilis http://linux.or.id/tatatertibmilis