[SOLVED] Apache Perl_mod installation - Apache guru needed

I may need an Apache guru here, but I'm trying to reinstall BackupPC after a system disc failure. I've installed everything I can find related to perl, installed modules via cpan, and setup ssh, but when I pull up the BackupPC admin web page, it has no administrative links and I can't configure it.
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.
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:
And this installed with backuppc:
Backuppc.conf looks like this:
I have an .htaccess file in the /var/www/backuppc directory:
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
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