نمایش نتایج: از شماره 1 تا 1 از مجموع 1

موضوع: komak

  
  1. #1
    نام حقيقي: A.G

    خواننده شناسه تصویری adel28
    تاریخ عضویت
    Aug 2006
    محل سکونت
    ایران
    نوشته
    813
    سپاسگزاری شده
    180
    سپاسگزاری کرده
    192

    komak

    سلام
    از استادای عزیز می خوام به نگاهی به کانفیگ کش من بندازن، ببینن اوضاع اون چطوریه؟
    اگه اشکالاشو بهم بگین ممنون میشم.




    [php]#Cache Port
    http_port 3128
    icp_port 0
    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \? login
    no_cache deny QUERY
    cache_mem 16 MB
    ipcache_size 2048
    fqdncache_size 10000
    ipcache_low 90
    ipcache_high 95
    #Cache Access Path & Log Files
    cache_dir aufs /cache1 4096 16 256
    cache_dir aufs /cache2 4096 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 Servers
    dns_nameservers 217.218.127.104 217.218.127.105 217.218.127.106 217.219.160.104
    emulate_httpd_log on

    # 2 Days
    refresh_pattern -i \.(exe|gz|tar|tgz|zip|rar|arj|lzh|lha)$ 2880 20% 10080 reload-into-ims
    refresh_pattern ^ftp: 2880 20% 10080
    refresh_pattern ^gopher: 2880 0% 2880

    # 7 Days
    refresh_pattern -i \.(htm|html|shtml|txt|thm|doc|xls|viv|)$ 1008 20% 12960 override-expire override-lastmod
    refresh_pattern -i \.(mid|mp[234]|wav|mp3|m3u|cab|au|doc|ram|ra|rm|wrl|snd|sit|sea) $ 10080 90% 43200 override-expire override-lastmod

    # 15 Days
    refresh_pattern -i \.(au|bmp|cs|class|doc|gif|jpeg|jpg|js|pdf|pic|png |mov|movie|xbm|swf|png|tif|tiff|mpg|mpeg|mpe|dat|r as|qtm|qt|ps|ppt|pl|sw|swf|cab|txt)$ 21600 90% 129600 override-expire override-lastmod
    refresh_pattern -i . 0 95% 129600 override-expire override-lastmod
    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 allowedhosts1 src 192.168.20.1-192.168.20.254
    #acl allowedhosts2 src 217.219.162.1-217.219.162.254
    acl SSL_ports port 443 563
    acl Safe_ports port 80 21 443 563 70 210 1025-65535
    acl Safe_ports port 280
    acl Safe_ports port 488
    acl Safe_ports port 591
    acl Safe_ports port 777
    acl nimda1 urlpath_regex -i \.eml$
    acl nimda2 urlpath_regex -i root.exe
    acl nimda3 urlpath_regex -i cmd.exe

    acl nimda4 urlpath_regex -i ^http://.*www
    acl nimda5 urlpath_regex -i readme.exe
    acl nimda6 urlpath_regex -i default.ida
    acl worm urlpath_regex -i :25
    acl CONNECT method CONNECT
    http_access allow manager localhost
    http_access allow allowedhosts1
    #http_access allow allowedhosts2
    http_access deny manager
    http_access deny !Safe_ports
    http_access deny !SSL_ports
    http_access deny nimda1
    http_access deny nimda2
    http_access deny nimda3
    http_access deny nimda4
    http_access deny nimda5
    http_access deny nimda6
    http_access deny worm
    http_access deny all
    http_access deny CONNECT
    icp_access deny all
    miss_access allow all
    wccp_router 217.219.161....
    visible_hostname ghaeem
    cachemgr_passwd secret ghaeem
    cachemgr_passwd all
    cache_mgr cache.ghaeem.ertebat@gmail.com
    cache_effective_user squid
    cache_effective_group squid
    quick_abort_pct 60
    #client_lifetime 1 days
    #connect_timeout 180 seconds
    icp_query_timeout 0 seconds
    #ident_timeout 180 seconds
    #memory_pools on
    #memory_pools_limit 32 MB
    negative_dns_ttl 5 minutes
    negative_ttl 5 minutes
    #pconn_timeout 120 seconds
    #positive_dns_ttl 6 hours
    #read_timeout 15 minutes
    request_body_max_size 0 KB
    request_timeout 180 seconds
    shutdown_lifetime 180 seconds
    maximum_object_size 16000 KB
    minimum_object_size 0 KB
    maximum_object_size_in_memory 256 KB
    forwarded_for off
    log_icp_queries off
    icp_hit_stale on
    reload_into_ims on
    prefer_direct on
    ie_refresh on
    logfile_rotate 6
    half_closed_clients off
    cache_swap_low 80
    cache_swap_high 95

    #SNMP
    snmp_port 3401
    acl snmppublic snmp_community public
    snmp_access allow snmppublic all

    [/php]




    موضوعات مشابه:
    ویرایش توسط adel28 : 2007-04-01 در ساعت 10:34 PM

کلمات کلیدی در جستجوها:

هیچ کلمه ای ثبت نشده است.

برچسب برای این موضوع

مجوز های ارسال و ویرایش

  • شما نمی توانید موضوع جدید ارسال کنید
  • شما نمی توانید به پست ها پاسخ دهید
  • شما نمی توانید فایل پیوست ضمیمه کنید
  • شما نمی توانید پست های خود را ویرایش کنید
  •