|There's more than one way to do things|
request URL from a specified IP addressby butchie3980 (Novice)
|on Oct 19, 2011 at 00:37 UTC||Need Help??|
butchie3980 has asked for the
wisdom of the Perl Monks concerning the following question:
I wanted to test an http get from an internal web server that is serving up several domains.
the idea is to do the request to the IP, but ask for the URL
one way to test is to edit the hosts file and trick my local machine into thinking www.example.com is at the IP address.
That won't work because I need to test dozens of servers, and dozens of URLs, and I don't want to change a host entry multiple times
so I'd love to set up something where I specify IP address and then the URL that the server should be responding to at that IP.
is there a way to do this?