alias.url += ( "/backuppc" => "/usr/share/backuppc/cgi-bin" ) index-file.names += ( "index.cgi" ) cgi.assign += ( ".cgi" => "/usr/bin/perl") $HTTP["url"] =~ "^/backuppc" { auth.backend = "htpasswd" auth.backend.htpasswd.userfile = "/etc/backuppc/htpasswd" auth.require = ("/backuppc" => ( "method" => "basic", "realm" => "BackupPC", "require" => "valid-user" )) }