/etc/w3c/checklink.conf
The main configuration file. You can use the W3C_CHECKLINK_CFG environment variable to override the default location.
"Trusted" specifies a regular expression for matching trusted domains (ie. domains where HTTP basic authentication, if any, will be sent). The regular expression will be matched case insensitively against host names. The default behavior (when unset, that is) is to send the authentication information only to the host which requests it; usually you don't want to change this. For example, the following configures only the w3.org domain as trusted:
Trusted = \.w3\.org$
"Allow_Private_IPs" is a boolean flag indicating whether checking links on non-public IP addresses is allowed. The default is true in command line mode and false when run as a CGI script. For example, to disallow checking non-public IP addresses, regardless of the mode, use:
Allow_Private_IPs = 0
"Forbidden_Protocols" is a comma separated list of additional protocols/URI schemes that the link checker is not allowed to use. The "javascript" and "mailto" schemes are always forbidden, and so is the "file" scheme when running as a CGI script.
Forbidden_Protocols = javascript,mailto
"Markup_Validator_URI" and "CSS_Validator_URI" are formatted URIs to the respective validators. The %s in these will be replaced with the full "URI encoded" URI to the document being checked, and shown in the link checker results view in the online/CGI version. The defaults are:
Markup_Validator_URI =http://validator.w3.org/check?uri=%sCSS_Validator_URI =http://jigsaw.w3.org/css-validator/validator?uri=%s
"Doc_URI" is a URI used for linking to the documentation, and CSS and JavaScript files in the dynamically generated content of the link checker. The default is:
Doc_URI = http://validator.w3.org/docs/checklink.html
"Connection_Cache_Size" is an integer denoting the maximum number of connections the link checker will keep open at any given time. The default is:
Connection_Cache_Size = 2