Ok! I have it working!!! The key suggestion came from hippo. This might help someone else, so even though its not strictly Perl, I'll detail the steps I took to get my minicpan online.

I first edited the Apache config-file: `sudo vim /etc/apache2/apache2.conf' to introduce a new Alias:


# Alias definition
Alias /minicpan "/var/mirrors/minicpan"

Then a new Directory entry goes next into apache2.conf:


# Directory permissions
<Directory "/var/mirrors/minicpan">
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>

Warning: I don't actually understand all the lines in the Directory permissions block. I'm guilty of cargo-cult coding here; I just copied what Google AI answered with. Sorry ;-)

Finally, one needs to remember to restart apache so that it will read the edited apache2.conf; my server is running on Debian and a good way for Debian users to get a restart is `sudo systemctl restart apache2'

So once again PerlMonks came through for me, and I really appreciate it.

  Soren

Jul 01, 2025 at 17:05 UTC

In reply to Re: Minicpan mirror on lan, not working with cpanplus client by Intrepid
in thread Minicpan mirror on lan, not working with cpanplus client by Intrepid

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.