visible_hostname

 < Day Day Up > 

visible_hostname

Use this directive when Squid can't determine the fully qualified domain name on its own or if you want to present a special, external name to the world. Squid uses this name in error messages, FTP directory listings, X-Cache header values, cache announcements, and for internal URLs.

Squid also puts the visible hostname into HTTP Via headers, unless you also define the unique_hostname directive. Note that you must use unique_hostname if you have a cluster of caches that have the same visible hostname.

Syntax

 visible_hostname   hostname   

Default

No default

Example

 visible_hostname my.host.name 

Related

unique_hostname , hostname_aliases , announce_period

 < Day Day Up > 


Squid
Squid: The Definitive Guide
ISBN: 0596001622
EAN: 2147483647
Year: 2004
Pages: 401
Authors: Duane Wessels

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net