I am a Linux User and have been since the late 1990s
I have been using BackupPC for many years on various devices, either running Ubuntu in a QEMU VM or on Raspberry Pi5s
I have a new MiniPC running AlmaLinux 10 (whichis great!), so I decided to setup a VM on this machine running AlmaLinux 9 with BackupPC (It is not available in the repos for AlmaLinux 10) instead of Ubuntu for a change. I have to say I do like AlmaLinux 10 having used RHEL for several years.
I have had no problem getting BackupPC working, I can tell from the log.
But……. Can I get the Web GUI to work from my PC running Gentoo Linux on the same network. No I cannot.
Here is the original Apache Config file:
<DirectoryMatch /usr/(share|libexec)/BackupPC/>
# BackupPC requires valid authentication in order for the web interface to
# function properly. One can view the web interface without authentication
# though all functionality is disabled.
#
# htpasswd -c /etc/BackupPC/apache.users yourusername
#
AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName "BackupPC"
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAll>
Require valid-user
<RequireAny>
Require local
</RequireAny>
</RequireAll>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
order deny,allow
deny from all
allow from all
allow from ::1
require valid-user
</IfModule>
</DirectoryMatch>
Alias /BackupPC/images /usr/share/BackupPC/html/
ScriptAlias /BackupPC /usr/libexec/BackupPC/BackupPC_Admin
ScriptAlias /backuppc /usr/libexec/BackupPC/BackupPC_Admin
So, I thought all I would need to do is change the Require local to Require all granted but that does not work.
I have setup the httpasswd.
Looking at the Journal and the access_log and error_log there are no errors or messages even setting the logging level for apache to debug.
I have even changed the apache user to backuppc and made sure the permissions on the web folders and config file are the same backluppc:apache
What should my Apache config file look like?
I rather think I will have to go back to Ubuntu, but I hate all the ‘cloud’ stuff and the like with that now.