Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Setting Web proxy for HTTP::Recorder

by Anonymous Monk
on Apr 29, 2007 at 14:27 UTC ( #612642=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to setup HTTP::Recorder and it states that I need to do the following:

Then, instruct your favorite web browser to use your new proxy for HTTP traffic.

My proxy.pl script looks just like the example with the exception that I'm on a windows box:

use strict; use warnings; use HTTP::Proxy; use HTTP::Recorder; my $proxy = HTTP::Proxy->new(); # create a new HTTP::Recorder object my $agent = new HTTP::Recorder; # set the log file (optional) $agent->file("C:\\Temp\\myfile"); # set HTTP::Recorder as the agent for the proxy $proxy->agent( $agent ); # start the proxy $proxy->start(); 1;
How do I tell firefox or IE to use this script for my proxy?

Thanks

Comment on Setting Web proxy for HTTP::Recorder
Download Code
Replies are listed 'Best First'.
Re: Setting Web proxy for HTTP::Recorder
by planetscape (Canon) on Apr 29, 2007 at 15:09 UTC

    Firefox v1.5.0.11:
    Tools
    Options
    General tab
    click Connection Settings button
    check Manual Proxy Configuation radio button
    HTTP Proxy: localhost
    Port: 8080
    Click OK

    HTH,

    planetscape
Re: Setting Web proxy for HTTP::Recorder
by akho (Hermit) on Apr 29, 2007 at 14:32 UTC
    Firefox 2: Edit -> Preferences... -> Advanced tab -> Network sub-tab -> Settings... button -> select "Manual proxy configuration", type 127.0.0.1 as your Proxy address and 8080 as its port.

    Should work.

      That worked! Thanks!
Re: Setting Web proxy for HTTP::Recorder
by smahesh (Pilgrim) on Apr 30, 2007 at 03:38 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://612642]
Approved by wfsp
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2015-07-07 20:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls