On 06/05/07, Holger Parplies <[EMAIL PROTECTED]> wrote: > 3. Use a different web server > > Since the web interface is simply a perl script, you could run it under > > any web server that supports CGI. > It will need to run as the BackupPC user though to have access to the > pool. The Perl script is setuid by default, which does not work with > apache/mod_perl, for instance. Other web servers may have similar > limitations. > You *could* set up BackupPC to use the www-data user (or whatever > your alternative web server runs as) instead of backuppc to work around > that, but it would be better to select a web server that supports setuid > CGI scripts.
The setuid bit is not always a true limitation IMHO, because you can use a wrapper script that does a sudo (unless you are using mod_perl or similar where wrapper scripts won't work). For other web servers I would recommend to test it a bit to see if everything works fine. For the most part any web server should work, but I found that not everything would always work. (I used to use Caudium for the web interface. Everything except Restore worked, so I ultimately had to switch to Apache because I had to do restores and I didn't want to spend too much time figuring out why Restore didn't work on Caudium.) -- cheers, -ambrose Gmail must die. Yes, I use it, but it still must die. PS: Don't trust everything you read in Wikipedia. (Very Important) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
