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 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?


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:
    General tab
    click Connection Settings button
    check Manual Proxy Configuation radio button
    HTTP Proxy: localhost
    Port: 8080
    Click OK


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 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