All pastes #25876 Raw Edit

dono

public text v1 · immutable
#25876 ·published 2005-10-18 19:53 UTC
rendered paste body
http_port 3128
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 20 MB
maximum_object_size 256 KB
minimum_object_size 4 KB
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl user src 192.168.0.102-192.168.0.120
acl NotBad url_regex -i "/usr/local/squid/etc/NotBad.txt"
http_access allow user NotBad
acl gembels src 192.168.0.121-192.168.0.150
acl porno url_regex -i "/usr/local/squid/etc/porno.txt"
http_access deny user porno
http_access allow gembels
http_access deny all
acl LAN url_regex -i 192.168.0.101-253
acl extensions urlpath_regex -i ftp \.mp3$ \.zip$ \.bmp$ \.ram$ \.rmi$ \.pdf$ \.tgz$ \.gz$ .exe$ \.mov$ \.mpg$ \.wav$ \.asf$ \.rpm$ \.iso$
delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow LAN
delay_class 2 2
delay_parameters 2 8000/8000 2000/2000
delay_access 2 allow extensions
visible_hostname ngetopserver
cache_effective_user squid
cache_effective_group squid
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_single_host off
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
cache_dir ufs /usr/local/squid/var/cache 512 16 256
cache_access_log /usr/local/squid/var/logs/access.log
cache_log /usr/local/squid/var/logs/cache.log
cache_store_log none