Search squid archive

Re: How to customize ERR page with tag for user-agent ?

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

 



On 11.04.06 12:45, Alexander Grüner wrote:
> acl browser-deny browser -i "/etc/squid/squid.deny-useragents"
> ...
> http_access deny browser-deny
> ...
> deny_info ERR_MALWARE browser-deny
> 
> So far it works fine.
> 
> I want to add to this error page the reason or user-agent for the user, 
> like:
> 
> Your access has been denied because of "%user-agent".
> 
> http://www.squid-cache.org/Doc/FAQ/FAQ-19.html#custom-err-msgs did not 
> help me, because there seems to be no tag for this purpose.

I wonder what do you want the malware to see? and why? do you expect the
malware to behave differently if you send them different error messages?

Or do you mean unwelcome clients (ehm?) to show different content, for users
not to use them?
-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Spam = (S)tupid (P)eople's (A)dvertising (M)ethod

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

  Powered by Linux