Re: Please guide on modifying Squid

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 21 Oct 2000 15:20:19 +0200

This can be done via the redirector interface in Squid.

If the redirector rewrites the HTTP url to

http://user:password@www.acm.org/dl...

then Squid will automatically pick up the user:password part and
constructin a Basic HTTP authentication header when sending the request
to the server.

No modifications to the Squid source is required.

--
Henrik Nordstrom
Squid hacker
Warut Thaweesub wrote:
> 
> Dear Henrik Nordstrom,
> 
> I would like to add a special treatment on HTTP request to some web sites.
> For instance, a user on my Intranet want to access www.acm.org/dl which
> requires authentication.  I would like my Proxy to automatic submit
> authorization information without any intervention from user.
> I have tried to find an easier way e.g. a script to extend Squid, however,
> I haven't found one. Moreover, performance is an important factor in this
> job.  Would you please tell me which files I need to modify in the CVS
> tree?  I appreciate your help.
> 
> Best regards,
> Warut
> 
> Department of Computer Science
> Mahidol University
> Tel. 247-0333 ext 212
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Sat Oct 21 2000 - 07:21:41 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:49 MST