Re: [squid-users] Authentication Over-ride

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 28 Jan 2009 17:22:32 +1300 (NZDT)

> I am working on an application for my senior project at school. I am
> wondering if anyone might possibly know a way to pass a username and
> password to the pop-up authentication box in squid when auth_param is
> set. Something I can use with my PHP to keep the interface slick and
> be able to my PHP login to do many other things.
>
> This is what I have been trying but doesn't seem to work
>
> header("Location: http://$user:$password@www.google.com");
>
> Were $user and $password are already variables I have defined in my
> createuser/login application
>
> Any help or ideas would be greatly appreciated.
>

Squid does not do popup boxes. Web browsers do popup boxes.

Look at URL syntax for sending username/password and HTTP syntax for
sending Authentication: headers.

Amos
Received on Wed Jan 28 2009 - 04:22:38 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 28 2009 - 12:00:03 MST