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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.