بازم squid !!!!! كمك كنيد لطفا

شروع موضوع توسط parse1 ‏26 ژوئن 2004 در انجمن شبکه

  1. parse1

    parse1 Registered User

    تاریخ عضویت:
    ‏1 آپریل 2004
    نوشته ها:
    55
    تشکر شده:
    0
    سلام
    اين squid همه چيز رو كش ميكنه !!!!! سايت هاي خبري update نميشه !!!!!
    چي كار كنم كه صفحات asp , php بيشتر از 24 ساعت توي كش نمونه ؟؟؟؟؟؟؟؟

    http_port 3128
    icp_port 3130

    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \? \parse1.com \user.parse1.com
    no_cache deny QUERY

    always_direct allow QUERY
    cache_dir ufs /cache1 8000 16 256
    cache_dir ufs /cache2 8000 16 256
    visible_hostname hostname
    cache_mgr webmaster

    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 SSL_ports port 443 563
    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

    acl localclients src 217.219.16.160/255.255.255.224
    acl PURGE method PURGE
    http_access allow PURGE localhost
    http_access deny PURGE
    http_access allow manager localhost
    http_access deny manager
    http_access deny !localclients
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access allow all
    icp_access allow all
    miss_access allow all
    cache_effective_user squid
    cache_effective_group squid
    visible_hostname cache-server
    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on
    prefer_direct off

    http_access allow manager localhost
    http_access deny manager
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access allow localhost
    http_access allow all
    icp_access allow all
    httpd_accel_port 80
    httpd_accel_host virtual
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on
    ie_refresh on

    #snmp
    acl snmppublic snmp_community public
    snmp_access allow snmppublic all
    snmp_incoming_address 0.0.0.0
    snmp_outgoing_address 0.0.0.0

    cache_mem 50 MB # 8 MB
    maximum_object_size 5 MB # 4096 KB
    maximum_object_size_in_memory 256 KB # 8 KB
    dns_nameservers 217.219.16.163 195.146.32.1 192.9.9.3
    request_header_max_size 10000 KB # 10 KB
    request_timeout 180 second # 30 seconds

    refresh_pattern -i \.jpg$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.gif$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.html$ 480 0% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.htm$ 480 0% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.aspx$ 480 0% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.jpeg$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.mid$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.shtml$ 480 0% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.thm$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.txt$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.cab$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.au$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.xbm$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.ram$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.chtml$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.thb$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.dcr$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.bmp$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.phtml$ 480 50% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.pdf$ 480 50% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.swf$ 57600 90% 86400 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.mp3$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.ra$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.spl$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.viv$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.doc$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.gz$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.Z$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.tgz$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.vrm$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.vrml$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.aif$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.aifc$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.aiff$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.arj$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.c$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.cpt$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.dir$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.dxr$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.hqx$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.jpe$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.lha$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.lzh$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.midi$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.mp2$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.mpe$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.ppt$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.ps$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.qt$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.qtm$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.ras$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.sea$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.sit$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.tif$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.tiff$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.asp$ 480 0% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.php$ 480 0% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.js$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.jsp$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.perl$ 480 20% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.cgi$ 480 0% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.fla$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.xml$ 480 0% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.xhtml$ 480 20% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.sxml$ 480 20% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.ocx$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.java$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.css$ 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \.htmx 480 20% 22160 override-expire override-lastmod reload-into-ims
    refresh_pattern -i \. 10080 90% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern ^ftp: 43200 20% 43200 override-expire override-lastmod reload-into-ims
    refresh_pattern ^gopher: 43200 0% 43200 override-expire override-lastmod reload-into-ims

    cache_access_log /var/log/squid/access.log
    cache_store_log /var/log/squid/store.log
    cache_log /var/log/squid/cache.log
     
  2. خرید بک لینکبازدیدیار - افزایش بازدید سایت و سیگنال های برند
  3. parse1

    parse1 Registered User

    تاریخ عضویت:
    ‏1 آپریل 2004
    نوشته ها:
    55
    تشکر شده:
    0
    چي چيش مشكل داره ؟؟؟؟؟
    راهنمايي لطفا!!!!!!!!!!
     
  4. mr_adami

    mr_adami کاربر تازه وارد

    تاریخ عضویت:
    ‏10 اکتبر 2004
    نوشته ها:
    56
    تشکر شده:
    0
    با سلام
    آقا تو اكسز ليست QUERY كلمات ASP و PHP رو اضافه كنيد . ديگه سايتهائي رو كه تو آدرسشون اين كلمات باشه كش نميكنه
     
عسل طبیعی و گرده گل ایرانیخدمات پی پال، وسترن یونیون