File squid-3.1.12-config.patch of Package squid3.openSUSE_12.1
diff -ruN squid-3.1.12-orig/src/cf.data.pre squid-3.1.12/src/cf.data.pre --- squid-3.1.12-orig/src/cf.data.pre 2011-04-04 03:24:06.000000000 +0200 +++ squid-3.1.12/src/cf.data.pre 2011-04-12 15:03:41.000000000 +0200 @@ -915,6 +915,8 @@ # Adapt localnet in the ACL section to list your (internal) IP networks # from where browsing should be allowed http_access allow localnet + +# Allow localhost always proxy functionality http_access allow localhost # And finally deny all other access to this proxy @@ -2290,6 +2292,10 @@ Instead, if you want Squid to use the entire disk drive, subtract 20% and use that value. + Note on 'Mbytes': You need to consider the available RAM on the + machine versus the approx. 10MB RAM per 1GB of files which the + cache_dir index will consume. + 'L1' is the number of first-level subdirectories which will be created under the 'Directory'. The default is 16. @@ -2365,7 +2371,7 @@ NOCOMMENT_START # Uncomment and adjust the following to add a disk cache directory. -#cache_dir ufs @DEFAULT_SWAP_DIR@ 100 16 256 +#cache_dir aufs @DEFAULT_SWAP_DIR@ 100 16 256 NOCOMMENT_END DOC_END @@ -2774,7 +2780,7 @@ NAME: logfile_rotate TYPE: int -DEFAULT: 10 +DEFAULT: 0 LOC: Config.Log.rotateNumber DOC_START Specifies the number of logfile rotations to make when you