Re: HELP: HTTP proxy authentication

Aaron Aw (aaronaw@hotmail.com)
Fri, 21 May 1999 00:44:09 SGT


Thanks for the info Doug. I've tried it on Solaris and it works fine. 
However I'm actually going to run it within a Win32/NT environment and I 
think it might fail due to the wrong method names used by ActiveState Perl. 
Could you please advise? Thanks!!

Aaron

>From: Doug Monroe <monroe@lucent.com>
>To: Aaron Aw <aaronaw@hotmail.com>
>CC: libwww-perl@ics.uci.edu
>Subject: Re: HELP: HTTP proxy authentication
>Date: Thu, 20 May 1999 08:26:34 -0400
>
>
>
>Aaron Aw wrote:
> >
> > Hi! I'm in dire need of a solution for my Perl code to retrieve a 
>webpage
> > through a user-authenticated Netscape proxy. Could someone please show 
>me
> > how or perhaps a code snippet on how this is done?
>
>Try 'perldoc lwpcook'
>and you'll find:
>  $req->proxy_authorization_basic("proxy_user", "proxy_password");
>
> > Besides that also, how can we handle the normal website user 
>authentication
> > together with the http proxy authentication?
>
>from same doc:
>  $req->authorization_basic('username', 'password');
>
>--
>Doug Monroe
>Lucent Technologies
>



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com