Robert Collins wrote:
> That leaves a problem: How does the user specify "the default hosts file
> for this machine".
By not specifying the directive.
What about this approach:
The directive takes a list of possible paths, accepting the first found.
For win32, the default is set to the two standard system locations, starting with the
NT location.
I don't see a problem in the win32 version first attempting to open the NT location of
the file on Windows unless the user has removed this path from squid.conf.
This approach requires some small addition to the cf.data.pre syntax and cf_gen to
provide different defaults for different platforms, plus a slightly rewritten (but
platform independent) routine for finding /etc/hosts
-- HenrikReceived on Thu Aug 16 2001 - 02:29:47 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:12 MST