File backuppc.conf of Package 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.
#
# htpasswd2 -c /etc/backuppc/passwd yourusername
#
<IfModule mod_alias.c>
Alias /BackupPC/images /usr/share/backuppc/html
Alias /backuppc/images /usr/share/backuppc/html
ScriptAlias /BackupPC /usr/share/backuppc/cgi-bin/BackupPC_Admin
ScriptAlias /backuppc /usr/share/backuppc/cgi-bin/BackupPC_Admin
User backuppc
Group backuppc
</IfModule>
<Directory /usr/share/backuppc/cgi-bin>
AllowOverride Indexes AuthConfig
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
<IfVersion >= 2.4>
<IfModule !mod_access_compat.c>
Require all denied
</IfModule>
</IfVersion>
<IfVersion < 2.4>
Order deny,allow
Deny from all
</IfVersion>
AuthName "Backup Admin"
AuthType Basic
AuthUserFile /etc/backuppc/passwd
Require valid-user
</Directory>
<Directory /usr/share/backuppc/html>
AllowOverride Indexes AuthConfig
<IfVersion >= 2.4>
<IfModule !mod_access_compat.c>
Require all denied
</IfModule>
</IfVersion>
<IfVersion < 2.4>
Order deny,allow
Deny from all
</IfVersion>
AuthName "Backup Admin"
AuthType Basic
AuthUserFile /etc/backuppc/passwd
Require valid-user
</Directory>