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

موضوع: Squid 3 STABLE1 Transparent

  
  1. #1
    نام حقيقي: Massih Mazaheri

    عضو غیر فعال
    تاریخ عضویت
    Jan 2008
    محل سکونت
    IRAN
    نوشته
    13
    سپاسگزاری شده
    0
    سپاسگزاری کرده
    2

    Squid 3 STABLE1 Transparent

    سلام

    اسكوئيد 3 رو نصب كردم ولي در حالت ترانسپرنت كار نميكنه اين صفحه مياد :

    ERROR

    The requested URL could not be retrieved


    While trying to retrieve the URL: /
    The following error was encountered:
    • Invalid URL

    Some aspect of the requested URL is incorrect. Possible problems:
    • Missing or incorrect access protocol (should be `http://'' or similar)
    • Missing hostname
    • Illegal double-escape in the URL-Path
    • Illegal character in hostname; underscores are not allowed
    ولي در حالت http_port 8880 vhost كار ميكنه به شرطي كه بوسيله cache_peer براش parent مشخص كنيم

    اين هم كنفيگ:


    http_port 8880 transparent
    cache_effective_user squid
    cache_effective_group squid
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY

    cache_mem 128 MB
    cache_swap_low 85
    cache_swap_high 95

    maximum_object_size 8192 KB
    maximum_object_size_in_memory 100 KB
    ipcache_size 10240
    fqdncache_size 4096
    cache_replacement_policy lru
    memory_replacement_policy lru
    cache_dir aufs /cache2 4000 16 256

    cache_mgr webmaster
    visible_hostname Test-Squid

    dns_nameservers 10.20.20.20 10.20.24.24
    request_header_max_size 1000 KB
    request_body_max_size 100 KB
    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 0% 1440
    refresh_pattern . 0 20% 4320
    connect_timeout 180 seconds
    peer_connect_timeout 45 seconds
    request_timeout 4 minutes
    client_lifetime 720 minutes
    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
    acl local src 10.20.24.0/24
    acl manager proto cache_object
    acl localhost src 127.0.0.1/32
    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 PURGE method purge
    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 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 purge localhost
    http_access deny purge
    http_access allow all
    http_reply_access allow all
    http_access deny all

    ie_refresh on

    cache_access_log /var/log/squid/access.log
    cache_store_log /var/log/squid/store.log
    cache_log /var/log/squid/cache.log




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

  2. #2


    عضو غیر فعال شناسه تصویری jaavid
    تاریخ عضویت
    Jan 2005
    نوشته
    54
    سپاسگزاری شده
    8
    سپاسگزاری کرده
    3
    براي حالت vhost خط پايين رو به كانفيگ اضافه كن ديگه parent نياز نداره:

    کد:
    always_direct allow local




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

    عضو عادی شناسه تصویری kingmkh
    تاریخ عضویت
    Nov 2004
    محل سکونت
    Iran - Karaj
    نوشته
    134
    سپاسگزاری شده
    14
    سپاسگزاری کرده
    7
    Check your Iptables Settings




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

squid

squid3 The requested URL could not be retrieved invalid url transparent

squid vhost

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

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

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