On Thu, 2005-11-24 at 23:04 +0530, Sanjay Arora wrote: > On Thu, 2005-11-24 at 16:33 +0100, Guus Houtzager wrote:
[...] > Tried your example...then followed as given in the docs......both didn't > work..still the same error > > [Thu Nov 24 22:33:19 2005] [error] [client 192.168.200.24] Can't do > setuid (cannot exec sperl) That's something to do with mod_perl I think. > [Thu Nov 24 22:33:19 2005] [error] [client 192.168.200.24] Premature end > of script headers: BackupPC_Admin > > > > <Directory "/var/www/cgi-bin/BackupPC"> > # AllowOverride None > # Allow from 192.168.200 > # > # Options ExecCGI FollowSymlinks > # AddHandler cgi-script .cgi > # DirectoryIndex index.cgi > # > # AuthGroupFile /etc/backuppc/htgroup > # AuthUserFile /etc/BackupPC/.htpasswd.backuppc > # AuthType basic > # AuthName "BackupPC Admin" > # require valid-user > > SetHandler perl-script > PerlResponseHandler ModPerl::Registry > PerlOptions +ParseHeaders I thought you said a few mails ago that you didn't want to use mod_perl? So please comment out the above 3 lines and try again. > Options +ExecCGI > Order deny,allow > Deny from all > Allow from 192.168.200 > AuthName "Backup Admin" > AuthType Basic > AuthUserFile /etc/backuppc/.htaccess.backuppc > Require valid-user > </Directory> Does CentOS use something like grsecurity? If I interpret the error message correctly it looks like apache is trying to exec the perl stuff trough some handler called sperl (suid-perl?) and that's failing. You best chance is to try to get it to work first and then try stuff like mod_perl. > Any ideads? > Sanjay. Hth, -- Guus Houtzager Email: [EMAIL PROTECTED] PGP fingerprint = 5E E6 96 35 F0 64 34 14 CC 03 2B 36 71 FB 4B 5D Early to rise, early to bed, makes a man healthy, wealthy and dead. --Rincewind, The Light Fantastic ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/