Re: [squid-users] visible_hostname versus unique_hostname

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Thu, 23 Apr 2009 16:52:04 +0200

> Matus UHLAR - fantomas wrote:
>> I was searching for the logic of setting visible_hostname and
>> unique_hostname. I found out that value of unique_hostname is set by calling
>> getMyHostname() function, which returns value of visible_hostname, if it's
>> set. However, I would prefer not to do this - to use autodected hostname,
>> and only change visible_hostname in configuration file.
>>
>> My point is that we use different /etc/hosts on different systems for
>> configuring more system services (not just squid) to run on different IP's
>> with the same configuration files, e.g.:
[...]
>> Squid could resolve it's own unique hostname to proxy1.nextra.sk, if it
>> would not take value of visible_hostname. That would allow me using of _the
>> same_ config file on more machines, which would make teh administration much
>> easier. However, because this logic, it's impossible and I _must_ hold more
>> configuration files, no matter what I do to make that easier.

On 22.04.09 14:33, Chris Robertson wrote:
> From http://www.squid-cache.org/Versions/v3/3.0/cfgman/:
>
> Configuration options can be included using the "include" directive.

Yes, but that would exactly do what I do not want - need for inclusion of
another file just because of one directive.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
2B|!2B, that's a question!
Received on Thu Apr 23 2009 - 14:52:11 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 23 2009 - 12:00:01 MDT