Search squid archive

Re: IP Subnet Redirect

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

 



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@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux