Using MiniCPAN as Local CPAN

Y'all;

I need to build a complete CPAN mirror for use behind our corporate firewall. I found minicpan, and like how easy it was to build the mirror. So I have that put into an environment which has access to the "outside world" where it can push the mirror to a location accessible from the "inside world."

Now I need to configure cpan/cpanm to use that mirror.

I've done my searching about the internet, and found a lot of folks who said how to use the mirror on the local box -- meaning the box it is on (with file://whatever/). But I need to access the one mirror from across the entire inside world. I tried ftp://hostname/fqpn and made a link in /var/www/cpan to where it resides and tried http://hostname/cpan, but neither one worked. I'm sure I am just missing one little point, but it hasn't jumped out at me just yet.

I'm not afraid to hack about until I get it working, but I'm sure that someone here has already perfected the process. And if not, then at least several folks have already tried and can tell me what didn't work, so I don't waste my time with that.

Once I have the perfect process done, I'll come back and post the steps here for others who might want to try to do the same thing.

Thanks muchly, DL

Lee Crites
lee@critesclan.com

In reply to How to use the MiniCPAN mirror as the corporate mirror behind the firewall... by lee_crites

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.