Re: [BackupPC-users] Backuppc with lighttpd and suexec
2009-02-25 20:19:17
I append the end of my /etc/lighttpd/lighttpd.conf file - which works
fine for me, maybe that helps. I do not use a specific wrapper, it is
enough to have my cgi file set-uid (/var/www/backuppcBackupPC_Admin.cgi
on my Mandriva platform)
Have you seen
http://backuppc.wiki.sourceforge.net/Install+Backuppc+with+Lighttpd
$HTTP["host"] =~ "^pcjuergen($|.unige.ch)" {
$HTTP["url"] =~ "^/backuppc($|/)" {
server.document-root = "/var/www/backuppc"
alias.url = ( "/backuppc" => "/var/www/backuppc" )
dir-listing.activate = "disable"
index-file.names = ( "BackupPC_Admin.cgi" )
$HTTP["remoteip"] != "127.0.0.1" {
auth.backend = "htpasswd"
auth.backend.htpasswd.userfile = "/server/www/passwd/backuppc"
auth.require += ( "" => ( "method" => "basic",
"realm" => "BackupPC",
"require" => "valid-user" ) )
}
}
$HTTP["url"] =~ "^/webdav($|/)" {
$HTTP["url"] =~ "^/webdav/fox_" {
server.document-root = "/server/www/foxmarks"
... snip ...
}
}
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|