On Sunday 04 May 2003 23.45, Michael Schaller wrote:
> Hi !
>
> We plan to use Squid 2.5 in our company. Actually we (only) changed
> 3 parameters of the default file. We wish to "fake" the browser
> informations (i.e. User-Agent) of our clients ... but it doesnt�t
> work.
>
> ---------------------------------------------
> Changes in SQUID CONF-file:
>
> http_access allow all
>
> header_access User-Agent deny all
> header_replace User-Agent Nutscrape/1.0 (CP/M; 8-bit)
> ---------------------------------------------
Works here.. just did a copy-paste of your header_* configuration.
Note: This won't work for Javascripts accessing the navigator.appName
and similar objects. Such use can only be addressed in the browser by
denying the use of Javascript except for trusted sites.
Regards
Henrik
-- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org If you need commercial Squid support or cost effective Squid or firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, [email protected]Received on Sun May 04 2003 - 16:20:16 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:15 MST