Hello there
I am not sure if the problem I am having depends on Apache or on the CPAN module, so I decided to post this question. In case this would result in an off-topic I apologize in advance.
I am trying to install a module on a Solaris machine using the CPAN module. Since this machine sits on a private network and has no routing to the internet, I configured an Apache proxy service on my own workstation and configured the CPAN module on the first host to use it.
Well, what happens is that when I try to install something I got weird errors because of a truncated download or corrupted gzip file. For example:
bash-2.03# /usr/local/bin/perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.61) ReadLine support available (try 'install Bundle::CPAN') cpan> install XML::Simple CPAN: Storable loaded ok CPAN: LWP::UserAgent loaded ok Fetching with LWP: ftp://sunsite.cnlab-switch.ch/mirror/CPAN/authors/01mailrc.txt.gz Transfer truncated: only 79338 out of 79652 bytes received cpan>
On the apache side everything seems right:
nalog - - [01/Mar/2004:12:44:52 +0100] "GET ftp://sunsite.cnlab-switch.ch/mirror/CPAN/authors/01mailrc.txt.gz HTTP/1.1" 200 79338 "-" "libwww-perl/5.76"Did anybody solve the same problem? Anything I can do on the CPAN.pm configuration? Or on the Apache side?
Ciao
--bronto
The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
--John M. Dlugosz
In reply to [OT/MAYBE] CPAN module and apache proxy by bronto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |