Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: request URL from a specified IP address

by Sewi (Friar)
on Oct 19, 2011 at 05:28 UTC ( #932289=note: print w/ replies, xml ) Need Help??


in reply to request URL from a specified IP address

Try to set the target IP address as proxy server for LWP:

my $ua = LWP::UserAgent->new; $ua->proxy('http', 'http://192.168.12.34:80/');

Communication with proxy servers is slightly different from "plain" HTTP communication (mostly: the URL is part of the GET/POST request, not only the path part), but I didn't find a webserver not supporting this.


Comment on Re: request URL from a specified IP address
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2015-07-29 19:04 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 (267 votes), past polls