Squid_ The Definitive Guide - Duane Wessels [187]
Related
dns_defnames, append_domain
Name
diskd_program
Synopsis
This is the pathname to the diskd helper program. It gets executed for each cache_dir of type diskd.
Syntax
diskd_program pathname
Default
diskd_program $prefix/libexec/diskd
Example
diskd_program /usr/local/squid-2.4/libexec/squid/diskd
Related
cache_dir
Name
unlinkd_program
Synopsis
This is the pathname to the unlinkd program. By executing the unlink operations in this external process, Squid's performance improves significantly. You can disable the external unlinker with the —disable-unlinkd option to ./configure.
Syntax
unlinkd_program pathname
Default
unlinkd_program $prefix/libexec/unlinkd
Example
unlinkd_program /usr/local/squid-2.4/libexec/unlinkd
Name
pinger_program
Synopsis
Squid uses the pinger program to send ICMP pings to origin server sites. Squid uses these ICMP measurements to estimate network proximity. Note that the pinger program must be installed as setuid root because it opens a raw ICMP socket. To enable the ICMP measurement features, use the ./configure —enable-icmp option.
Syntax
pinger_program pathname
Default
pinger_program $prefix/libexec/pinger
Example
pinger_program /usr/local/squid-2.4/libexec/pinger
Related
netdb_low, netdb_high, netdb_ping_period
Name
redirect_program
Synopsis
This directive specifies the pathname of a redirector program. It must be executable by the Squid user ID. See Chapter 11.
Syntax
redirect_program pathname
Default
No default
Example
redirect_program /usr/local/squid/libexec/my_redirector
Related
redirect_children, redirect_rewrites_host_header, redirector_access, redirector_bypass
Name
redirect_children
Synopsis
This directive specifies how many redirector processes Squid should start. Client requests are written to the first idle redirector process. Squid warns you (via cache.log) when all processes are simultaneously busy. If you see this warning, you should increase the number of child processes and restart Squid.
Syntax
redirect_children number
Default
redirect_children 5
Example
redirect_children 20
Related
redirect_program, sleep_after_fork, redirector_bypass
Name
redirect_rewrites_host_header
Synopsis
Squid normally updates a request's Host header when using a redirector. If you use Squid as a surrogate (HTTP accelerator), you might want to disable this behavior by setting this directive to off.
Syntax
redirect_rewrites_host_header on|off
Default
redirect_rewrites_host_header on
Example
redirect_rewrites_host_header off
Related
httpd_accel_single_host
Name
redirector_access
Synopsis
If you use this directive, only the requests that match the access list rules are sent to the redirector processes. Without any redirector_access rules, all requests are sent to the redirector processes.
Syntax
redirector_access allow|deny [!]ACLname ...
Default
No default
Example
acl Foo src 192.168.1.0/24
acl All src 0/0
redirector_access deny Foo
redirector_access allow All
Related
acl, http_access
Name
redirector_bypass
Synopsis
Squid uses a pool of redirectors to service client requests. This directive determines Squid's behavior when all redirectors in the pool are busy. Normally, Squid queues subsequent requests, waiting for one of the redirectors to become free. If the queue becomes too large, Squid exits with a fatal message. If you enable this directive, however, Squid simply skips the redirection step if all redirectors are busy.
Syntax
redirector_bypass on|off
Default
redirector_bypass off
Example
redirector_bypass on
Related
redirect_program, redirector_access
Name
auth_param
Synopsis
The auth_param directive controls almost every aspect of Squid's external user authentication interface. Squid currently supports three authentication schemes: Basic, Digest, and NTLM. Basic authentication support is compiled by default. For the others, you must use the —enable-auth option with ./configure.