
169
Appendix D
Configuration Files
Example
The following line in the
ip_allow.config
file allows all clients to access the Traffic Server proxy cache:
src_ip=0.0.0.0-255.255.255.255 action=ip_allow
The following line allows all clients on a specific subnet to access the Traffic Server proxy cache:
src_ip=123.12.3.000-123.12.3.123 action=ip_allow
ldapsrvr.config
The
ldapsrvr.config
file enables you to specify sites on the Internet that Traffic Server clients can access
without being authenticated by the LDAP server. Using this configuration file, you can also specify the LDAP
server that Traffic Server should use for specific objects or sets of objects.
For more information, refer to
Configuring LDAP-based proxy authentication‚ on page 92
.
Format
Each line in the
ldapsrvr.config
file consists of a set of tag value pairs. The pairs are in the format
tag
=
value
. You must include exactly one primary specifier for each line. The following table describes the
primary destination specifiers:
The following table describes the available server directives:
Example
The following line exempts URLs to the domain
xyz.com
from having to authenticate using the LDAP server:
dest_domain=xyz.com server=”auth_bypass”
logs.config
The
logs.config
file establishes and formats custom transaction log files.
For Traffic Server to create the custom log files you define, you must enable the custom logging option by
setting the
proxy.config.log2.custom_logs_enabled
variable to 1, as follows:
CONFIG proxy.config.log2.custom_logs_enabled INT 1
Primary Destination
Allowed
dest_domain
A valid domain name. This specifies that the URL selection be based on the
destination domain.
dest_host
A valid hostname. This specifies that the URL selection be based on the
destination host.
dest_ip
A valid IP address. This specifies that the URL selection be based on the IP
address.
url_regex
A valid URL regular expression. This specifies that the URL selection be
based on a regular expression.
Server Directive
Description
server
(Required) Must be set to the keyword “auth_bypass” in order to activate the
authentication bypass feature. All URLs that match the keyword are
exempted from proxy authentication.
dn
Not required when set to “auth_bypass”
uid_filter
(Optional) Defaults to “uid”