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

موضوع: درخواست راهنمائی برای رفع اشکال اسکوئید

  
  1. #1


    عضو عادی
    تاریخ عضویت
    Dec 2005
    نوشته
    95
    سپاسگزاری شده
    17
    سپاسگزاری کرده
    17

    درخواست راهنمائی برای رفع اشکال اسکوئید

    سلام به همه دوستان واساتید من یک squid راه انداختم کش می کنه کارش بد نیست فقط خواستم یه خطائی میده دوستان کمک کنند رفع کنم و اگه بشه کانفیگشو بهینه تر کنم ممنون میشم راهنمائیم کنید

    اول خطا رو میگم تو cache.log اینجوری خطا میده
    clientReadRequest: FD 100 Invalid Request
    2008/07/28 19:38:49| parseHttpRequest: Unsupported method 'ٍ‚GET
    '2008/07/28 19:38:49| clientReadRequest: FD 127 Invalid Request
    2008/07/28 19:38:53| parseHttpRequest: Unsupported method 'ŒGET
    '2008/07/28 19:38:53| clientReadRequest: FD 33 Invalid Request
    2008/07/28 19:39:25| parseHttpRequest: Unsupported method 'ڈGET'
    2008/07/28 19:39:25| clientReadRequest: FD 65 Invalid Request

    اینم کانفیگ من

    http_port 3128
    icp_port 3130
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY
    ###############################################
    cache_mgr Feri_banamak@Yahoo.Com
    visible_hostname CacheServer
    ###############################################
    memory_pools off
    cache_mem 96 MB
    cache_swap_low 90
    cache_swap_high 95
    maximum_object_size 32 MB
    minimum_object_size 50 KB
    maximum_object_size_in_memory 128 KB
    ###############################################
    cache_dir aufs /var/spool/squid 8000 16 256
    coredump_dir /var/spool/squid
    ftp_user Info@Squid-Cache.org
    ################################################## ######################
    refresh_pattern cgi-bin 0 20% 1
    refresh_pattern \.asp$ 0 20% 1
    refresh_pattern \.acgi$ 0 20% 1
    refresh_pattern \.cgi$ 0 20% 1
    refresh_pattern \.pl$ 0 20% 1
    refresh_pattern \.shtml$ 0 20% 1
    refresh_pattern \? 0 20% 1
    refresh_pattern \.gif$ 10080 90% 43200
    refresh_pattern \.jpg$ 10080 90% 43200
    refresh_pattern \.bom\.gov\.au 30 20% 120
    refresh_pattern \.html$ 480 50% 22160
    refresh_pattern \.htm$ 480 50% 22160
    refresh_pattern \.class$ 10080 90% 43200
    refresh_pattern \.zip$ 10080 90% 43200
    refresh_pattern \.jpeg$ 10080 90% 43200
    refresh_pattern \.mid$ 10080 90% 43200
    refresh_pattern \.shtml$ 480 50% 22160
    refresh_pattern \.exe$ 10080 90% 43200
    refresh_pattern \.thm$ 10080 90% 43200
    refresh_pattern \.wav$ 10080 90% 43200
    refresh_pattern \.txt$ 10080 90% 43200
    refresh_pattern \.cab$ 10080 90% 43200
    refresh_pattern \.au$ 10080 90% 43200
    refresh_pattern \.mov$ 10080 90% 43200
    refresh_pattern \.xbm$ 10080 90% 43200
    refresh_pattern \.ram$ 10080 90% 43200
    refresh_pattern \.avi$ 10080 90% 43200
    refresh_pattern \.chtml$ 480 50% 22160
    refresh_pattern \.thb$ 10080 90% 43200
    refresh_pattern \.dcr$ 10080 90% 43200
    refresh_pattern \.bmp$ 10080 90% 43200
    refresh_pattern \.phtml$ 480 50% 22160
    refresh_pattern \.mpg$ 10080 90% 43200
    refresh_pattern \.pdf$ 10080 90% 43200
    refresh_pattern \.art$ 10080 90% 43200
    refresh_pattern \.swf$ 10080 90% 43200
    refresh_pattern \.mp3$ 10080 90% 43200
    refresh_pattern \.ra$ 10080 90% 43200
    refresh_pattern \.spl$ 10080 90% 43200
    refresh_pattern \.viv$ 10080 90% 43200
    refresh_pattern \.doc$ 10080 90% 43200
    refresh_pattern \.gz$ 10080 90% 43200
    refresh_pattern \.Z$ 10080 90% 43200
    refresh_pattern \.tgz$ 10080 90% 43200
    refresh_pattern \.tar$ 10080 90% 43200
    refresh_pattern \.vrm$ 10080 90% 43200
    refresh_pattern \.vrml$ 10080 90% 43200
    refresh_pattern \.aif$ 10080 90% 43200
    refresh_pattern \.aifc$ 10080 90% 43200
    refresh_pattern \.aiff$ 10080 90% 43200
    refresh_pattern \.arj$ 10080 90% 43200
    refresh_pattern \.c$ 10080 90% 43200
    refresh_pattern \.cpt$ 10080 90% 43200
    refresh_pattern \.dir$ 10080 90% 43200
    refresh_pattern \.dxr$ 10080 90% 43200
    refresh_pattern \.hqx$ 10080 90% 43200
    refresh_pattern \.jpe$ 10080 90% 43200
    refresh_pattern \.lha$ 10080 90% 43200
    refresh_pattern \.lzh$ 10080 90% 43200
    refresh_pattern \.midi$ 10080 90% 43200
    refresh_pattern \.movie$ 10080 90% 43200
    refresh_pattern \.mp2$ 10080 90% 43200
    refresh_pattern \.mpe$ 10080 90% 43200
    refresh_pattern \.mpeg$ 10080 90% 43200
    refresh_pattern \.mpga$ 10080 90% 43200
    refresh_pattern \.pl$ 10080 90% 43200
    refresh_pattern \.ppt$ 10080 90% 43200
    refresh_pattern \.ps$ 10080 90% 43200
    refresh_pattern \.qt$ 10080 90% 43200
    refresh_pattern \.qtm$ 10080 90% 43200
    refresh_pattern \.ras$ 10080 90% 43200
    refresh_pattern \.sea$ 10080 90% 43200
    refresh_pattern \.sit$ 10080 90% 43200
    refresh_pattern \.tif$ 10080 90% 43200
    refresh_pattern \.tiff$ 10080 90% 43200
    refresh_pattern \.snd$ 10080 90% 43200
    refresh_pattern \.wrl$ 10080 90% 43200
    refresh_pattern ^ftp:// 480 60% 22160
    refresh_pattern ^gopher:// 30 20% 120
    refresh_pattern . 480 50% 22160
    ################################################## ##########################
    quick_abort_min 64 KB
    quick_abort_max 512 KB
    quick_abort_pct 70%
    ################################################## ################
    ipcache_size 20480
    ipcache_low 96
    ipcache_high 98
    ################################################## ################
    debug_options ALL,1 98,2
    ################################################## ################
    request_header_max_size 8 KB
    positive_dns_ttl 40 seconds
    negative_dns_ttl 30 seconds
    client_lifetime 14 hours
    pconn_timeout 30 seconds
    negative_ttl 5 minutes
    connect_timeout 2 minutes
    read_timeout 15 minutes
    request_timeout 30 seconds
    shutdown_lifetime 10 seconds
    #############################################
    acl nimda1 urlpath_regex -i \.elm$
    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.id
    acl nimda7 urlpath_regex -i :25
    #################################################
    acl all src 0.0.0.0/0.0.0.0
    acl manager proto cache_object
    acl localhost src 127.0.0.1
    acl local src 217.219.72.0/24
    acl local src 192.168.101.0/24
    acl SSL_ports port 443 563
    acl Safe_ports port 80 20 21 443 70 210 8080 280 488 591 777 901 1024-65535
    acl purge method PURGE
    acl CONNECT method CONNECT
    #################################################
    cache_access_log /var/log/squid/access.log
    cache_store_log /var/log/squid/store.log
    cache_log /var/log/squid/cache.log
    logfile_rotate 3
    ##################################################
    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 nimda7
    #################################################
    http_access allow manager localhost
    http_access allow manager local
    http_access deny manager
    http_access allow purge localhost
    http_access allow purge local
    http_access deny purge
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access allow localhost
    http_access allow local
    http_access deny all
    icp_access allow all
    http_reply_access allow all
    reply_body_max_size 0 allow all
    #################################################
    dns_nameservers 4.2.2.1 4.2.2.2 4.2.2.3 4.2.2.4 192.9.9.3
    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on
    forwarded_for on
    emulate_httpd_log off
    log_fqdn off
    ################################################## ###
    acl snmppublic snmp_community public
    snmp_access allow snmppublic localhost
    snmp_access deny all
    snmp_incoming_address 0.0.0.0
    snmp_outgoing_address 255.255.255.255




    موضوعات مشابه:

  2. #2
    نام حقيقي: Alireza HBB

    عضو غیر فعال شناسه تصویری Alux
    تاریخ عضویت
    Jan 2006
    محل سکونت
    Tehran
    نوشته
    1,492
    سپاسگزاری شده
    286
    سپاسگزاری کرده
    399
    ACL PROTO METHOD GET

    http_access allow PROTO....

    Syntax دقیقش رو گوکل کن !



  3. #3
    نام حقيقي: Peyman Yousefi

    عضو ویژه شناسه تصویری darklove
    تاریخ عضویت
    Oct 2005
    محل سکونت
    ABHAR
    نوشته
    3,330
    سپاسگزاری شده
    1005
    سپاسگزاری کرده
    318
    نوشته های وبلاگ
    7
    مطمین هستید این Config شماست
    این Conifg ماله 3 سال پیشه منه
    البته Refresh و بعضی چیزا فرق میکنه



  4. #4


    عضو عادی
    تاریخ عضویت
    Dec 2005
    نوشته
    95
    سپاسگزاری شده
    17
    سپاسگزاری کرده
    17
    ممنون از کمکتون من این config رو از تلفیق چندین کانفیگ تو انجمن و بهینه کردن اون تا جایی که خودم بلد بودم بدست آوردم اگه اشکالی داره راهنمایی کنید ممنون میشم دوستان



  5. #5
    نام حقيقي: Peyman Yousefi

    عضو ویژه شناسه تصویری darklove
    تاریخ عضویت
    Oct 2005
    محل سکونت
    ABHAR
    نوشته
    3,330
    سپاسگزاری شده
    1005
    سپاسگزاری کرده
    318
    نوشته های وبلاگ
    7
    acl پیش فرض بزار



  6. #6
    نام حقيقي: alireza

    عضو عادی
    تاریخ عضویت
    Mar 2008
    نوشته
    41
    سپاسگزاری شده
    5
    سپاسگزاری کرده
    0
    زیاد جالب نیست.اگه میخوای کش خوب داشته باشی برو اینارو تو سایت اسکویید بخون
    MEMORY CACHE OPTIONS## DISK CACHE OPTIONS##
    OPTIONS FOR TUNING THE CACHE
    البته چیزای دیگه هم هست ولی اینا تو کش خیلی ناثیر داره اگه هم که نمیخوای بخونی کپی پست رو ادامه بده.



  7. #7
    نام حقيقي: محمد خانکی

    عضو عادی شناسه تصویری kingmkh
    تاریخ عضویت
    Nov 2004
    محل سکونت
    Iran - Karaj
    نوشته
    134
    سپاسگزاری شده
    14
    سپاسگزاری کرده
    7
    extension_methods XPOST
    extension_methods XGET
    extension_methods NICK
    extension_methods REGISTER


    Alux سپاسگزاری کرده است.

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

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

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

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

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