problem ze squid instalowanym z apta squid 2.6 stable5
: 17 lipca 2007, 15:52
Witam skonfigurowalem poprawnie squida po uruchamianiu go wywala mi taki komunikat
moj konfig wyglada nastepujaco
Kod: Zaznacz cały
debian:/etc/squid# squid -z
2007/07/17 17:53:27| parseConfigFile: line 2 unrecognized: 'httpd_accel_port 80 '
2007/07/17 17:53:27| parseConfigFile: line 3 unrecognized: 'httpd_accel_with_proxy on '
2007/07/17 17:53:27| parseConfigFile: line 4 unrecognized: 'httpd_accel_host virtual '
2007/07/17 17:53:27| parseConfigFile: line 5 unrecognized: 'httpd_accel_uses_host_header on '
2007/07/17 17:53:27| Creating Swap Directories
Kod: Zaznacz cały
http_port 3128
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_host virtual
httpd_accel_uses_host_header on
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_dir ufs /var/spool/squid 2000 16 256
cache_mem 512 MB
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_access_log /var/log/access.log
cache_log /var/log/cache.log
cache_store_log /var/log/store.log
pid_filename /var/log/squid.pid
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 to_localhost dst 127.0.0.0/8
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 1025-65535 # pozostałe porty
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl server src 192.168.1.1
http_access allow server
acl our_networks src 192.168.1.1-192.168.1.250
http_access allow our_networks
http_access deny all
http_reply_access allow all
icp_access allow all
cache_effective_user proxy
cache_effective_group proxy
coredump_dir /storage/cache
maximum_object_size 33000 KB
#redirector_bypass on
#redirect_program /sbin/lms-squid