On Wednesday 7 June 2006 17:07, Nils Breunese (Lemonbit Internet) wrote: > 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
Mine are (as stated in the docs): -rwsr-x--- 2 backuppc apache 3894 Apr 20 15:29 BackupPC_Admin I remember having to set ownership and permissions _exactly_ this way, otherwise it refused to work. To check, I did "su - apache" and tried to execute the cgi from the command line. Btw, I have apache server running as user apache and group apache. I don't think it's a vhost problem (but I might be wrong, I don't use vhosts on this computer). As for the cgi-bin dir, I think that ownership and permissions do not matter, as long as the user that apache is running as is able to enter the directory and execute the cgi. And, make sure that your perl has perlsuid support as explained in the BackupPC docs. _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/