Search squid archive

Re: Custom error message on acl deny

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trever L. Adams wrote:
Hello everyone,

I am trying to set up custom error messages based on http_reply_access deny.

I have many different ones, I want custom error messages for several, is
this possible?

The closest I am seeing is http://www.squid-cache.org/Doc/config/error_map/


http://www.squid-cache.org/Doc/config/deny_info/ is what you want. It's linked to the name of the ACL being used last on the denial line.

NP: If your rule tuning does not naturally allow unique ACL names at the end of all lines you may need to define some dummy ACL to appnd to the lines like so: acl denied1 src all

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE7 or 3.0.STABLE21
  Current Beta Squid 3.1.0.15

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux