Re: [squid-users] User-Agent Headers allow only for specific mime-types

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 9 Sep 2003 08:51:43 +0200

On Tuesday 09 September 2003 08.15, paul.schaefers@chello.at wrote:
> Hi all!
>
> The poblem with that I don't allow User-Agent headers.
> I want to allow User-Agent headers for only Realplayer and
> Mediaplayer Mimetypes.

You can not make the desision for forwarding of User-Agent in the
request based on the MIME type of the response. To get the response
the request must first be forwarded so the server knows what to
respond to..

What you can do is to selectively allow User-Agent based on the value
of User-Agent. See http_header_access and the browser acl type.

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/, info@marasystems.com
Received on Tue Sep 09 2003 - 00:52:19 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:36 MST