I'm running perl v5.005_03, LWP v1.93, http.pm 1.49,
https.pm 1.8 on a Linux Red Hat 6.1 Server x86.

 I've been attempting to develop an application which
will go to a secure site, search for new files and
bring them back across the internet.

 I've installed all the SSL modules and openSSL and
everything's worked great so far. (Thanks to many
people on this ? board)  I can connect to a secure
site on my LAN without a problem, but when I try a
site on the internet I get the error
   500 Error from proxy
I attempted the patch posted a few days ago, but I
still get the same error.  

#!/usr/bin/perl -w

use LWP::UserAgent;
use HTTP::Request;
use HTTP::Response;
use Crypt::SSLeay;


$user_agent = new LWP::UserAgent;

$user_agent->proxy(['http','ftp','https'] =>
'http://proxy.@@@.@@@.com:####' );

  please forgive the @ & # above. though not sensative
info security can be anal
 sometimes

$user_agent->agent("Mozilla/4.0", $user_agent->agent);


$request = new HTTP::Request('GET',
    'https://shop.sol.no/');

$response = $user_agent->request($request);
if ( $response->is_success)
  {
   print "SUCCESS\n";
  }
else
  {
    print "FAILED\n";
    print $response->error_as_HTML;
  }

  Is this a recuring problem?  If so is there
somewhere else I can look to find an answer

Thanks 
Ashley Jones
BellSouth

__________________________________________________
Do You Yahoo!?
Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/

Reply via email to