[plug] proxying

John Summerfield summer at os2.ami.com.au
Sat Nov 21 22:16:33 WST 1998


On Fri, 20 Nov 1998, Shackleton, Kevin wrote:

> <snip>
> > You may want to post your squid.conf to this list, and have the
> > resident
> > experts look it over..
> </snip>
> 
> I got this squid.conf from a squid help web site (don't have the URL
> handy) . .
> 
> debug_options ALL,1
> acl all src 0.0.0.0/0.0.0.0
> http_access allow  all
> icp_access  allow  all
> miss_access allow  all
> dns_testnames internic.net usc.edu cs.colorado.edu mit.edu yale.edu
> cache_effective_user nobody nogroup
> 
> I don't care about security of any sort for this one-off project.  Just
> need it to work!  Is there anything actually wrong with this?  My
> problem of course could be elsewhere - will look at everyone's
> suggestions this evening.

I don't see how that translates to mine (which works). Here it is with
comments grepped out:
[summer at emu squid]$ grep -v ^# squid.conf | grep -v ^$       
icp_port 0
htcp_port 0
hierarchy_stoplist cgi-bin ?
cache_mem  2 MB
maximum_object_size 16384 KB
cache_dir /work/squid  50 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
emulate_httpd_log on
log_mime_hdrs on
pid_filename /var/run/squid.pid
log_fqdn on
client_netmask 255.255.255.000
ftp_user Squid at ami.com.au
dns_children 3
reference_age 1 week
cache_mgr summer
cache_effective_user squid
cache_effective_group squid
visible_hostname proxy.os2.ami.com.au
httpd_accel_host emu.ami.com.au
httpd_accel_port 80  
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
logfile_rotate 4
error_directory /etc/squid/errors/English


I am running squid-beta-1.2.22.

I suggest you practice while connected to the Internet so you have no DNS
problem. You can start it automatically (on RH) by adding to
/etc/ppp/ip-up.local and take it down again when you go offline with a
command in /etc/ppp/ip-down.local



Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.



More information about the plug mailing list