On 9/04/2017 1:32 a.m., christian brendan wrote:
> Hello
> 
> i have install squid and its working fine.
> I have created expired IP pool: 192.168.2.0/24  and i want all client on
> that subnet to be directed to my my website, eg: mycompany/expired.htm
> Please how do i make this possible?
> 

Place these lines above any "http_access allow" rules that you have:

  acl expired src 192.168.2.0/24
  acl expiredAllowed dstdomain mycompany.local
  deny_info 302:http://mycompany.local/expired.htm expired
  http_access deny !expiredAllowed expired

Amos

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to