--------------------- PatchSet 1002 Date: 2000/12/30 09:06:26 Author: hno Branch: etc_hosts Tag: (none) Log: date: 2000/12/29 12:42:59; author: kinkie; state: Exp; lines: +24 -1 Added configuration option for the hosts file. Needed for portability to non-Un*x OSes. Members: src/cf.data.pre:1.6->1.6.2.1 Index: squid/src/cf.data.pre =================================================================== RCS file: /cvsroot/squid-sf//squid/src/cf.data.pre,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -u -r1.6 -r1.6.2.1 --- squid/src/cf.data.pre 19 Dec 2000 16:43:06 -0000 1.6 +++ squid/src/cf.data.pre 30 Dec 2000 09:06:26 -0000 1.6.2.1 @@ -1,6 +1,6 @@ # -# $Id: cf.data.pre,v 1.6 2000/12/19 16:43:06 hno Exp $ +# $Id: cf.data.pre,v 1.6.2.1 2000/12/30 09:06:26 hno Exp $ # # # SQUID Internet Object Cache http://squid.nlanr.net/Squid/ @@ -1017,6 +1017,29 @@ Example: dns_nameservers 10.0.0.1 192.172.0.4 DOC_END +NAME: hosts_file +TYPE: string +DEFAULT: /etc/hosts +LOC: Config.etcHostsFile +DOC_START + Location of the host-local IP name-address associations database. + Most Operating Systems have such a file: + under Un*X it's by default in /etc/hosts + MS-Windows NT/2000 places that in + %SystemRoot%(by default c:\winnt)\system32\drivers\etc\hosts, + while Windows 9x/ME places that in + %windir%(usually c:\windows)\hosts + + The file contains newline-separated definitions, in the form + ip_address_in_dotted_form name [name ...] + names are whitespace-separated. + lines beginnng with an hash (#) character are comments. + + The file is checked at startup and upon configuration. + If set to 'none', it won't be checked. + If append_domain is used, that domain will be added to domain-local + (i.e. not containing any dot character) host definitions. +DOC_END NAME: unlinkd_program IFDEF: USE_UNLINKD