Squid - pytan kilka.
Killah
killah80 w poczta.onet.pl
Czw, 18 Lis 2004, 23:48:48 CET
Pomozmy tej kuli...
Co w tym konfigu jest nie tak ? :(
Bylbym wdzieczny za kazda pomoc.
Pozdrawiam
Killah
http_port 8080
icp_port 3180
log_icp_queries off
buffered_logs on
#-------------------------------------------------------
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl local_ip src 192.168.0.0/255.255.0.0
acl manager proto cache_object
acl SSL_ports port 443
acl Safe_ports port 80 21 443 563 70 210 563 1025-65535
acl CONNECT method CONNECT
#-------------------------------------------------------
acl FTP proto FTP
always_direct allow FTP
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
#-------------------------------------------------------
http_access allow manager localhost
http_access allow local_ip
http_access deny CONNECT
http_access deny !SSL_ports
http_access deny all
icp_access allow all
#-------------------------------------------------------
cache_mem 128 MB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
#-------------------------------------------------------
cache_swap_low 80
cache_swap_high 100
#-------------------------------------------------------
maximum_object_size 8192 KB
minimum_object_size 5 KB
maximum_object_size_in_memory 30 KB
store_avg_object_size 100 KB
connect_timeout 100 seconds
#-------------------------------------------------------
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
#-------------------------------------------------------
cache_dir diskd /var/cache/squid 30000 16 128
coredump_dir /var/cache/squid
#-------------------------------------------------------
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
#-------------------------------------------------------
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
#-------------------------------------------------------
logfile_rotate 10
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
#-------------------------------------------------------
cache_effective_user squid
cache_effective_group squid
_________________________________________________________________
List sprawdzony skanerem poczty mks_vir ( http://www.mks.com.pl )
Więcej informacji o liście dyskusyjnej pld-users-pl