Runnning backuppc with thttpd instead of apache2.
Note: not completely tested yet (dumped commands after a successful install).
Note: the thttpd will not serve anything else on that port (though it's not likely a huge problem running several thttpds).
Install packages: aptitude install backuppc thttpd apache2-utils
port=80 user=backuppc # NOTE. dir=/usr/share/backuppc #chroot cgipat=cgi-bin/index.cgi globalpasswd logfile=/var/log/thttpd.log pidfile=/var/run/thttpd.pid
edit /etc/default/thttpd and enable it and start it.
cd /usr/share/backuppc ln -s cgi-bin backuppc # Change permissions, otherwise thttpd won't excute it; # and sgid is unnecessary. chmod 755 cgi-bin/index.cgi touch .htpasswd chmod 640 .htpasswd chown :backuppc .htpasswd # Set password for it. htpasswd .htpasswd root
afer that backuppc interface should be available at http://host/backuppc