I'm about to lose my mind. How in the world do you tell CPAN to download via HTTP only? ...and NOT via a proxy.
From serverfault
syn-
-
Try these:
Before running cpan: export -n http_proxy In the cpan shell: o conf http_proxy '' TO save your modified cpan config: o conf commit
That will disable any http proxy CPAN is configured to use.
From Jason -
If you don't want to use a cpan shell, you can also edit your cpan config file with a text editor, in unix systems it's here:
~/.cpan/CPAN/MyConfig.pm
Of course, the field to change in your particular question is 'http_proxy'.
From toshiro -
Try putting only HTTP URLs in your CPAN's Config.pm file, like:
'urllist' => [q[http://cpan.cict.fr/], q[http://cpan.enstimac.fr/], q[http://mirrors4.kernel.org/cpan/]],
I routinely do this and as far as I can see there's no FTP traffic to any CPAN mirror.
From sebastianopilla
0 comments:
Post a Comment