in reply to Problems with UserAgent to get through proxy

This code works fine on my system when I replace the $ua->proxy line with the appropriate proxy details for my network - It may be worthwhile examining your network and/or proxy configuration (It is a HTTP proxy that you are running on your network and not a SOCKS proxy?) or if this code is part of a larger script, posting a larger section of your code.

 

perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'

Replies are listed 'Best First'.
Re: Re: Problems with UserAgent to get through proxy
by chaskins (Sexton) on Jan 17, 2002 at 19:03 UTC
    Ok I'll check things out. Thanks for your help. Chris
Re: Re: Problems with UserAgent to get through proxy
by chaskins (Sexton) on Jan 17, 2002 at 18:17 UTC
    Still doesn't work on mine and I get this error msg (in full);
    RC: 501 (Not Implemented) Message: Protocol scheme 'http' is not supported -----------------------------------
    Cheers Chris
      Well, with this 'error' message my inclination is to suggest that you find out more about the proxy which you are connecting through as it would seem that this is where the problem lies. What software is running the proxy? Is it a HTTP or a SOCKS proxy? Is there any authentication required for access? If you don't know the answers to these questions, it might be worth sounding out your network administrator to get an idea as to how the proxy is set up.

      Good luck.

       

      perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'