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 ;-)

Don't blindly follow suggestions from an LLM AI. That's even worse than blindly following code in some random blog you've never read before. In this case the Options line is probably unnecessary and really should not have FollowSymLinks. AllowOverride None is good, but should really be at the top level, not just in this dir. Require all granted allows public access to all methods - fine for a fully internal server but bear it in mind if you are opening it up to clients on the wider web.

a good way for Debian users to get a restart is `sudo systemctl restart apache2'

You don't need a restart just to pick up a change in config like this. If you are stuck with using systemd then sudo systemctl reload apache2 will do. If you are free from systemd (or just don't want to give it the satisfaction of using its own commands) then a simple sudo apachectl graceful is the way.

Glad you have it working now. Enjoy your minicpan!


🦛


In reply to Re^2: Minicpan mirror on lan, not working with cpanplus client by hippo
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.