Sending script requests through multiple IPs
One of the more useful things you may want to do with Perl scripts if you’re into crawling websites is to pipe your script’s requests through multiple IP addresses.
This is actually pretty simple when you know how, but doesn’t seem to be documented that well across the web. So the following steps should work pretty well if you’re running an Apache server:
1. Configure Apache
Make sure you’re running the mod_proxy module. Then add the following code to your Apache conf file:
1 2 3 4 5 6 | ProxyRequests On <proxy *> Order deny,allow Deny from all Allow from internal.example.com </proxy> |
2. Install Squid
A dual purpose caching & proxying program it can be installed on RHEL 5 by following these instructions.

As a new series of the consistently excellent 