Installing localProxy
-
Download and unpack
Unpack the distribution to (say) c:\proxyTools\.
-
Set up ppm (MS Windows) for automatic Perl module downloads
Skip this section if you don't need to use a HTTP proxy, or if you are
not
using MS Windows.
You need an environment variable http_proxy which has the value:
http://proxy1.emirates.net.ae:8080
(that's a UAE example - put your own ISPs proxy in here).
You can do this permanently for early versions of Windows, by adding
the
following command to your autoexec.bat:
set HTTP_proxy=http://proxy1.emirates.net.ae:8080
and rebooting
or (in later versions of Windows) do the same thing via control panel
(system|advanced|environment)
settings (no reboot needed).
Check it by typing set in a command window and see that http_proxy is
defined.
-
Install the Perl modules
Additional Perl modules are needed by localProxy.
These will be automatically installed for MS Windows users if you
double-click
localProxy.pl.
Linux/Unix users would probably want to use the CPAN module, like this:
perl -MCPAN -e shell
If ppm fails, the problem is probably your proxy setting in the
environment
(see above).
Once these modules are installed, they will persist over reboots, and
normal Perl minor version upgrades, but may need to be reinstalled
after a major
Perl upgrade.
Note how useful ppm is - type help to see the command set.
-
Test run
Double-click localProxy.pl
If you see any errors of the type: 'Cannot locate XXXX.pm in @INC' then
you
need to install module XXXX as above using ppm.