in reply to Minicpan mirror on lan, not working with cpanplus client
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Minicpan mirror on lan, not working with cpanplus client
by hippo (Archbishop) on Jul 01, 2025 at 17:37 UTC | |
by Intrepid (Curate) on Jul 05, 2025 at 15:41 UTC |