[squid-users] Custom User Agent Per ACL

jarrett+squid-users at jarrettgraham.com jarrett+squid-users at jarrettgraham.com
Thu Oct 27 17:48:38 UTC 2016


Is it possible to have a custom "request_header_replace User-Agent" assigned to mapped acl/listening port/tcp_outgoing_address?

Examples:
acl ipv4-1 myportname 3128 src xxx.xxx.xxx.xxx/24http_access allow ipv4-1 -> request_header_replace User Agent "Firefox xxxxx" ipv4-1 -> tcp_outgoing_address xxx.xxx.xxx.xxx ipv4-1
acl ipv4-2 myportname 3129 src xxx.xxx.xxx.xxx/24 -> http_access allow ipv4-2 -> request_header_replace User Agent "Internet Explorer xxxxx" ipv4-2 -> tcp_outgoing_address xxx.xxx.xxx.xxx ipv4-2

Thanks!



More information about the squid-users mailing list