Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
witam! chce uruchomić squida. no ale wywala mi jakies pierdoły. mój squid.conf wygląda tak:
http_port 8080 cache_mem 32 MB cache_swap_low 90 cache_swap_high 95 maximum_object_size 4096 KB maximum_object_size_in_memory 1 MB cache_replacement_policy lru memory_replacement_policy lru cache_dir ufs /var/spool/squid 200 16 256 cache_access_log /var/log/squid/access.log cache_store_log /var/log/squid/store.log #Recommended minimum configuration: 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 631 # cups acl Safe_ports port 777 # multiling http acl Safe_ports port 901 # SWAT acl purge method PURGE acl CONNECT method CONNECT #Recommended minimum configuration: # # Only allow cachemgr access from localhost http_access allow manager localhost http_access deny manager # Only allow purge requests from localhost http_access allow purge localhost http_access deny purge # Deny requests to unknown ports http_access deny !Safe_ports # Deny CONNECT to other than SSL ports http_access deny CONNECT !SSL_ports http_access allow localhost http_access deny all acl ournet src 192.168.1.0/255.255.255.0 http_access allow ournet ie_refresh on visible_hostname luggage cache_mgr archchancellor@disc.4elephants.turtle.net cache_effective_user proxy cache_effective_group proxy
no i mój redirect:
iptables -t nat -A PREROUTING -s 192.168.1.0/255.255.255.0 -p tcp --dport 80 -j REDIRECT --to-port 8080
Co mam nie tak?? cos trzeba dodac albo wykasowac?? pzdr
Offline
A jak wyglądają te pierdoły?
Offline
ok już działa. sćiągłem jakiegoś configa z neta, troche przerobiłem i hula. teraz trza go troche dopieścić. no ale dzieki za checi i fatyge. pozdrawiam
edid
jednak nie działa a wywala mi to:
ERROR The requested URL could not be retrieved While trying to process the request: GET / HTTP/1.1 Host: interia.pl User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070208 Mandriva/2.0.0.2-3mdv2007.1 (2007.1) Firefox/2.0.0.2 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: pl,en-us;q=0.7,en;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: poczta=nowa; __ads_b64_INTERIAPL=<fHdvamV3b2R6dHdvI3BvZGthcnBhY2tpZXw=> If-Modified-Since: Sun, 11 Mar 2007 14:02:46 GMT If-None-Match: "53753-efpeamag" The following error was encountered: * Invalid Request Some aspect of the HTTP Request is invalid. Possible problems: * Missing or unknown request method * Missing URL * Missing HTTP Identifier (HTTP/1.0) * Request is too large * Content-Length missing for POST or PUT requests * Illegal character in hostname; underscores are not allowed Your cache administrator is archchancellor@disc.4elephants.turtle.net. Generated Sun, 11 Mar 2007 11:42:29 GMT by hefajstos (squid/2.6.STABLE5)
Offline
tu jest mój config który działa
http://forum.dug.net.pl/viewtopic.php?t=6441&highlight=guzzi+squid
Offline