Freesco, NND, CDN, EOS
http://forum.freesco.pl/

Cache Manager problem z uruchomieniem
http://forum.freesco.pl/viewtopic.php?f=22&t=16385
Strona 1 z 1

Autor:  phac [ poniedziałek, 31 grudnia 2007, 15:57 ]
Tytuł:  Cache Manager problem z uruchomieniem

Mam squida2.6.STABLE5 i mam problem z odpaleniem skryptu cachemgr.cgi. Niby się odpala strona logowania do Cache managera, lecz gdy próbuje się zalogować to przeglądarka ładuje stronkę przez jakies 20-30 s, aż wkońcu wyświetla pustą stronę. Może mam coś w konfig squida namieszane albo czegoś brakuje?

Oto moj konfig squida:
: [/] [] ()
cache_effective_user proxy
pid_filename /var/run/squid.pid

# tcp_outgoing_address
dns_nameservers 127.0.0.1

refresh_pattern -i (.*jpg$|.*gif$) 0 50% 28800
refresh_pattern -i (.*html$|.*htm|.*shtml) 0 20% 1440
refresh_pattern (http://.*/$) 0 20% 1440
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

# obejscie buga internet explorera 5.5 i 5.5SP1
ie_refresh on

visible_hostname 192.168.1.1

#kontrola dostepu
acl all src 0.0.0.0/0.0.0.0
acl local src 192.168.1.0/255.255.255.0

acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl Safe_ports port 20          # http
acl Safe_ports port 21          # http
acl Safe_ports port 80          # http
acl Safe_ports port 81          # http
acl Safe_ports port 82          # http
acl Safe_ports port 83          # http
acl Safe_ports port 84          # http
acl Safe_ports port 443          # http
acl Safe_ports port 8080          # http
acl Safe_ports port 1024-64500
acl purge method PURGE
acl CONNECT method CONNECT
http_access deny !Safe_Ports

#KONFIGURACJA DOSTEPU DO SIECI
http_access allow local
http_access deny all

http_port 3128 transparent
icp_port 3128

error_directory /usr/share/squid/errors/Polish

acl FTP proto FTP
always_direct allow FTP

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

#Ilosc Ramu dla squida
cache_mem 128 MB

minimum_object_size 0 KB
maximum_object_size 100 MB
maximum_object_size_in_memory 12 KB

#Katalog na cache
cache_dir ufs /cache 80000 16 256

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

zph_tos_local 8
zph_tos_peer 0
zph_tos_parent off

cache_mgr admin
cachemgr_passwd admin all

ma ktoś z Was jakiś pomysł na to?

Autor:  phac [ środa, 2 stycznia 2008, 18:04 ]
Tytuł: 

Czy wogóle komuś działa skrypt cachemgr.cgi na thttpd ??

Autor:  phac [ czwartek, 3 stycznia 2008, 02:43 ]
Tytuł: 

:cry:

Autor:  rikardo7 [ czwartek, 3 stycznia 2008, 03:00 ]
Tytuł: 

mało kto używa thttpd :-) ale co ci szkodzi zrobić "pacman - S apache" ?

Autor:  phac [ czwartek, 3 stycznia 2008, 13:58 ]
Tytuł: 

Znalazlem problem. To nie wina serwera www, czy nieprawidłowej konfiguracji squida, tylko wpis w firewall'u odrzucający pakiety powyrzej 1501 bit.

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/