Hello all, I have spent all day trying to get BackupPC's web interface to work, but have not succeeded. I have completed all of the installation instructions and I have installed BackupPC 2.1.2pl1 on a CentOS 4.3 machine. However this machine is also running the Plesk 8 control panel. When it came to installing the CGI interface (a single file!) this is were I got stuck.
As I understand, I can either run the CGI interface setuid backuppc or run a separate apache instance running as user backuppc using mod_perl. I thought the setuid way would be the easiest to get working, but I think Plesk may be getting in the way to much. I have set up a vhost backup.lemonbit.nl through Plesk and this automatically creates a /var/www/vhosts/backup.lemonbit.nl/cgi-bin/ directory as this domain's cgi-bin directory. This is also the location I entered when running perl configure.pl and afterwards I indeed found BackupPC_Admin there: -r-sr-xr-- 1 backuppc backuppc 3912 Jun 7 11:48 BackupPC_Admin However, these are the permissions on the /var/www/vhosts/ backup.lemonbit.nl/cgi-bin directory: drwxr-x--- 2 lemonbitbackup psaserv 4096 Jun 7 15:42 cgi-bin So: the backuppc user is not able to execute BackupPC_Admin as it cannot get to the script. All I get is 500 Internal Server Errors and my logs keep saying: "Premature end of script headers: BackupPC_Admin" I believe however that if I change the ownership on the cgi-bin directory I can't execute any scripts at all. ---- I then tried looking into setting things up through mod_perl, but noticed you have to set user backuppc and group backuppc in the webserver configuration for this to work. Alas, you can't use the user and group directives in a vhosts configuration. Does anyone have an idea what I can do to get the admin interface to work in a vhost environment (especially Plesk 8)? Any pointers to setting up a separate instance of apache running as backuppc? Everywhere I go I read people saying "just use vhosts, separate apache instances are useless". From what I read and see about it, I'm really liking this system, so I would really like to get this to work. But after spending a whole day on this I think I need some fresh insights. Thanks in advance, Nils Breunese. _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/