On Thu, 2005-11-24 at 16:33 +0100, Guus Houtzager wrote:
> DocumentRoot /usr/share/backuppc/cgi-bin/
>
> <Directory /usr/share/backuppc/cgi-bin/>
> AllowOverride None
>
> Options ExecCGI FollowSymlinks
> AddHandler cgi-script .cgi
> DirectoryIndex index.cgi
>
> AuthGroupFile /etc/backuppc/htgroup
> AuthUserFile /etc/backuppc/htpasswd
> AuthType basic
> AuthName "BackupPC admin"
> require valid-user
>
> </Directory>
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)
[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
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>
Any ideads?
Sanjay.
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/