<<Back

ADMINISTRATIVE PARAMETERS

Tag Namecache_mgr
Usagecache_mgr Administrator mailid

Description
Using this tag, we can specify the email-address of the local cache manager who will receive mail, if the cache dies. The default is "webmaster." In case squid dies, the mail will be sent to the given mailid.

Defaultcache_mgr webmaster

Example
cache_mgr balu

 

Tag Namecache_effective_user
Usagecache_effective_user userid

Description
If the cache is run as root, it will change its effective/real UID to the UID specified below. The default is to change the UID to nobody. If Squid is not started as root, the default is to keep the current UID. Note that, if Squid is not started as root, then you cannot set http_port to a value lower than 1024.

If Squid is started with the userid squid, then the cache_effective_user will be given as squid. If it is started as root then the default value will be taken

Defaultcache_effective_user nobody

Example
cache_effective_user squid

Caution
If the above directive is not configured properly then Squid will have problems in starting.

 

Tag Namecache_effective_group
Usagecache_effective_group groupid

Description
If the cache is run as root, it will change its effective/real GID to the GID specified below. The default is to change the GID to nogroup. If Squid is not started as root, the default is to keep the current GID. Note that if Squid is not started as root then you cannot set http_port to a value lower than 1024.

If the squid started with the groupid squid then the cache_effective_group will be given as squid. If it is started as root, then the default value will be taken. For further info on the above two tags, see Effective user and group

Defaultcache_effective_group nogroup

Example
cache_effective_group squid

Caution
If it is not configured properly, then squid may run in to problem.

 

Tag Namevisible_hostname
Usagevisible_hostname anyhostname

Description
If you want to present a special hostname in error messages, etc then define this. Otherwise, the return value of gethostname () will be used. If you have multiple caches in a cluster and get errors about IP-forwarding, you must set them to have individual names with this setting. When the error message appears in the browser, it will show as it is generated from the visible_hostname.

Defaultnone

Example
visible_hostname www.visolve.com

 

Tag Nameunique_hostname
Usageunique_hostname hostname

Description
If you want to have multiple machines with the same 'visible_hostname' then you must give each machine a different unique_hostname' so that forwarding loops can be detected. In brief, Just set visible_hostname to the address the clients connects to, and unique_hostname to the externally visible address of each proxy. (address == registered domain name)

Defaultnone

Example
unique_hostname www.kovaiteam.com

 

Tag Namehostname_aliases
Usagehostname_aliases

Description
A list of other DNS names that your cache has. This option is used to detect internal requests ( Cache Digests ), when a cache has more than one hostname in use.

Defaultnone

Example
hostname_aliases

 

<<Back
 


All rights reserved.
All trademarks used in this document are owned by their respective companies. This document makes no ownership claim of any trademark(s). If you wish to have your trademark removed from this document, please contact the copyright holder. No disrespect is meant by any use of other companies’ trademarks in this document.
Note: The pages on this website cannot be duplicated on to another site. Copying and usage of the contents for personal and corporate purposes is acceptable. In near future, it will be released under the GNU Free Documentation License.
© ViSolve.com 2002 
Created By: squid@visolve.comDate: May 15,2002
Revision No:0.0 
Modified ByDate