Stephen Bainbridge wrote:

I've made the changes you suggest and I'm only able to get (near) the
Admin page using a URL such as; http://192.168.0.79/cgi-bin/BackupPC_Admin

It then asks me for a Username/Password. I enter the same details that
are in the /etc/lighttpd/userfile and it fails giving a permission
problem. The lighttpd error log shows:

2007-12-15 21:25:48: (mod_cgi.c.961) CGI failed: Permission denied
/var/www/cgi-bin/BackupPC_Admin
mod_cgi.c.964: aborted

The permissions on the userfile are:

[EMAIL PROTECTED]:/etc/lighttpd$ ls -al userfile
-rw-r--r-- 1 root root 34 Dec 14 21:40 userfile

Is there anything obvious that I'm doing wrong ?

Looking at step 9 of the installation instructions that doesn't look right: <http://backuppc.sourceforge.net/faq/BackupPC.html#step_9__cgi_interface >. I'd set the user to your backuppc user and the group to your webserver group and give those two execute permission. Does lighttpd support setuid scripts? Because if not you'll need to use mod_perl (again, see step 9 of the installation instructions for more info).

Nils Breunese.

Attachment: PGP.sig
Description: This is a digitally signed message part

-------------------------------------------------------------------------
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/

Reply via email to