Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Setting Web proxy for HTTP::Recorder

by Anonymous Monk
on Apr 29, 2007 at 14:27 UTC ( [id://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

Replies are listed 'Best First'.
Re: Setting Web proxy for HTTP::Recorder
by planetscape (Chancellor) 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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-03-28 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found