| Index | Alphabetical Index |
Option Name: | deny_info |
---|---|
Replaces: | |
Requires: | |
Default Value: | none |
Suggested Config: |
|
Usage: deny_info err_page_name acl or deny_info http://... acl or deny_info TCP_RESET acl This can be used to return a ERR_ page for requests which do not pass the 'http_access' rules. Squid remembers the last acl it evaluated in http_access, and if a 'deny_info' line exists for that ACL Squid returns a corresponding error page. The acl is typically the last acl on the http_access deny line which denied access. The exceptions to this rule are: - When Squid needs to request authentication credentials. It's then the first authentication related acl encountered - When none of the http_access lines matches. It's then the last acl processed on the last http_access line. NP: If providing your own custom error pages with error_directory you may also specify them by your custom file name: Example: deny_info ERR_CUSTOM_ACCESS_DENIED bad_guys Alternatively you can specify an error URL. The browsers will get redirected (302 or 307) to the specified URL. %s in the redirection URL will be replaced by the requested URL. Alternatively you can tell Squid to reset the TCP connection by specifying TCP_RESET. |
|
| Index | Alphabetical Index |