[squid-users] Authentication only for certain content-type

From: Adolfo Mussi <mussiado@dont-contact.us>
Date: Fri, 13 Jan 2006 14:16:04 +0100 (CET)

I want to make squid ask for authentication only for
certain content-type of the http response. For all
other content-type I don't want the browser to raise
authentication popup window.

The solution I've in mind is to make an external acl
helper that retrieves only the http header of the url
and scan it for content-type. To do so I'll have to
patch squid to implement the %PATH external_acl_type
fromat parameter (backporting some code from actual
devel-branch to my squid version 2.5-stable3 on redhat
enterprise 3 U3). I know this is a communication
overhead, but I can't figure out a better solution.

Anybody has a better solution?

Thanx,

-- Adolfo

        

        
                
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
Received on Fri Jan 13 2006 - 06:16:19 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST