As near as I can tell, the issue is httpd isn't configured for me to authenticate on the backuppc stuff. The most obvious reason for that seems to be that the perl_mod module isn't loading.
- Code: Select all
# httpd -l | egrep mod_perl
#
Yields nothing - the module isn't loading, and I'm at a loss to find any help configuring httpd.conf
So far I have added this to httpd.conf:
- Code: Select all
# Include sites configuration
Include conf/sites.d/*.conf
And this installed with backuppc:
- Code: Select all
ls sites.d/backuppc.conf
sites.d/backuppc.conf
Backuppc.conf looks like this:
- Code: Select all
# BackupPC Apache configuration
Alias /backuppc /var/www/backuppc
<Directory /var/www/backuppc>
Require all granted
Options ExecCGI
<Files BackupPC_Admin>
SetHandler cgi-script
</Files>
DirectoryIndex BackupPC_Admin
Allow from All
</Directory>
I have an .htaccess file in the /var/www/backuppc directory:
- Code: Select all
# cat /var/www/backuppc/.htaccess
AuthGroupFile /etc/group # <--- change path as needed
AuthUserFile /etc/passwd # <--- change path as needed
AuthType basic
AuthName "access"
require valid-user
I am also running this instance of httpd as user=backuppc, group=backuppc.
As I said above, the web page comes up just fine, but there is no challenge for credentials and there are no administrative links on the web page.
Help?
Thanks.
Mark