--- squid.conf.default Sun Oct 8 19:55:17 2000 +++ squid.conf Tue Jan 23 22:08:24 2001 @@ -45,6 +45,8 @@ # You may specify multiple socket addresses on multiple lines. # #http_port 3128 +http_port 80 # TAG: icp_port # The port number where Squid sends and receives ICP queries to @@ -316,7 +318,7 @@ # # The default is to directly fetch URLs containing 'cgi-bin' or '?'. # -#hierarchy_stoplist cgi-bin ? +hierarchy_stoplist cgi-bin ? # TAG: no_cache # A list of ACL elements which, if matched, cause the reply to @@ -370,7 +372,7 @@ # # The default is 8 Megabytes. # -#cache_mem 8 MB +cache_mem 16 MB # TAG: cache_swap_low (percent, 0-100) # TAG: cache_swap_high (percent, 0-100) @@ -386,8 +388,8 @@ # hundreds of MB. If this is the case you may wish to set these # numbers closer together. # -#cache_swap_low 90 -#cache_swap_high 95 +cache_swap_low 90 +cache_swap_high 95 # TAG: maximum_object_size (bytes) # Objects larger than this size will NOT be saved on disk. The @@ -401,13 +403,13 @@ # this value to maximize the byte hit rate improvement of LFUDA! # See replacement_policy below for a discussion of this policy. # -#maximum_object_size 4096 KB +maximum_object_size 4096 KB # TAG: minimum_object_size (bytes) # Objects smaller than this size will NOT be saved on disk. The # value is specified in kilobytes, and the default is 0 KB, which # means there is no minimum. -#minimum_object_size 0 KB +minimum_object_size 0 KB # TAG: ipcache_size (number of entries) # TAG: ipcache_low (percent) @@ -546,7 +548,7 @@ # TAG: pid_filename # A filename to write the process-id to. To disable, enter "none". # -#pid_filename /var/run/squid.pid +pid_filename /var/run/squid.pid # TAG: debug_options # Logging options are set as section,level where each source file @@ -556,7 +558,7 @@ # levels for all sections. We recommend normally running with # "ALL,1". # -#debug_options ALL,1 +debug_options ALL,1 # TAG: log_fqdn on|off # Turn this on if you wish to log fully qualified domain names @@ -642,14 +644,14 @@ # This isn't needed if you are using async-io since it's handled by # a thread. # -#unlinkd_program /var/www/squid/bin/unlinkd +unlinkd_program /var/www/squid/bin/unlinkd # TAG: pinger_program # Specify the location of the executable for the pinger process. # This is only useful if you configured Squid (during compilation) # with the '--enable-icmp' option. # -#pinger_program /var/www/squid/bin/pinger +pinger_program /var/www/squid/bin/pinger # TAG: redirect_program # Specify the location of the executable for the URL redirector. @@ -1164,6 +1166,7 @@ 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 dummy src 192.168.1.0/255.255.255.0 acl SSL_ports port 443 563 acl Safe_ports port 80 21 443 563 70 210 1025-65535 acl Safe_ports port 280 # http-mgmt @@ -1201,6 +1204,7 @@ # # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS # +http_access allow dummy http_access deny all # TAG: icp_access @@ -1367,14 +1371,14 @@ # ICP. If you want these features enabled also, then set # the 'httpd_accel_with_proxy' option. # -#httpd_accel_host hostname -#httpd_accel_port port +httpd_accel_host virtual +httpd_accel_port 80 # TAG: httpd_accel_with_proxy on|off # If you want to use Squid as both a local httpd accelerator # and as a proxy, change this to 'on'. # -#httpd_accel_with_proxy off +httpd_accel_with_proxy on # TAG: httpd_accel_uses_host_header on|off # HTTP/1.1 requests include a Host: header which is basically the @@ -1387,7 +1391,7 @@ # However, you will need to enable this option if you run Squid # as a transparent proxy. Otherwise, virtual servers which # require the Host: header will not be properly cached. -#httpd_accel_uses_host_header off +httpd_accel_uses_host_header on # MISCELLANEOUS @@ -1399,7 +1403,7 @@ # If you want to disable DNS tests, do not comment out or delete this # list. Instead use the -D command line option # -#dns_testnames netscape.com internic.net nlanr.net microsoft.com +dns_testnames netscape.com internic.net nlanr.net microsoft.com # TAG: logfile_rotate # Specifies the number of logfile rotations to make when you