Hullo Friends

I need to authenticate to a proxy server in order to access the internet.

How can I do this so that my lwp scripts may run ?

I tried this but am still unable to connect to the net :


 use LWP::UserAgent;
 $ua = LWP::UserAgent->new;
 $ua->proxy(['http', 'ftp'] => 'http://myproxyserver:80');
 $req = HTTP::Request->new(GET => 'http://www.google.com');
 $req->proxy_authorization_basic("myusername", "mypasswd");
 $res = $ua->request($req);
 print $res->content if $res->is_success;
 

Also, how can I have access to the net through proxy using PPM ?

I have set the user variables HTTP_proxy , HTTP_proxy_user and
HTTP_proxy_pass but I still get the msg "Could not locate a PPD file for..."
Thanks
aman





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to