Hi Stephen,
I noticed that nobody has replied to your request yet:
> I'm having some trouble trying to get BackupPC working with Lighttpd
I'm running backuppc here with Debian Etch on i386 hardware.
In the /etc/lighttpd directory create a file called userfile, put the
users and passwords like:
user:password
user2:pass2
Create /etc/lighttpd/conf-enabled/10-auth.conf:
server.modules += ( "mod_auth" )
auth.backend = "plain"
auth.backend.plain.userfile = "/etc/lighttpd/userfile"
auth.require = ( "/cgi-bin" =>
(
"method" => "digest",
"realm" => "BackupPC",
"require" => "valid-user"
)
)
And create /etc/lighttpd/conf-enabled/10-cgi.conf:
server.modules += ( "mod_cgi" )
alias.url += ( "/cgi-bin/" => "/var/www/cgi-bin/" )
$HTTP["host"] == "localhost" {
alias.url += ( "/cgi-bin/" => "/var/www/cgi-bin/" )
$HTTP["url"] =~ "/cgi-bin/" {
cgi.assign = ( "" => "" )
}
}
$HTTP["url"] =~ "/cgi-bin/" {
cgi.assign = ( "" => "" )
}
cgi.assign = (
".pl" => "/usr/bin/perl",
".php" => "/usr/bin/php-cgi",
".py" => "/usr/bin/python",
)
Make sure the BackupPC_Admin goes in /var/www/cgi-bin
Regards,
Josh
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/