Hi, I have found the solution (with your help). I have added the lines in /etc/httpd/conf/webapps.d/backuppc.conf. This file now contains :
# BackupPC Apache configuration Alias /backuppc /var/www/backuppc <Directory /var/www/backuppc> Options ExecCGI DirectoryIndex BackupPC_Admin.cgi Allow from all AuthType Basic AuthUserFile /etc/backuppc/apache.users AuthName "BackupPC" require valid-user </Directory> This is for Mandriva 2010.1. Regards. Xuo. Le 28/08/2010 18:47, Dinesh Shah (દિનેશ શાહ/दिनेश शाह) a écrit : > On Sat, Aug 28, 2010 at 5:41 PM, Xuo <x...@free.fr> wrote: >> Hi, >> >> I have just installed backuppc WITHOUT using mod_perl. >> The $Conf{CgiAdminUsers} is set to 'backuppc'. >> I can connect to the web interface but I am not asked for any user/password. >> I can access to all computers managed by backuppc. >> In fact, anybody from any computer has full access to the web interface. >> >> If I set $Conf{CgiAdminUsers} to any other user, then I do not have any >> access to menus of the web interface (or only a very small number). So I >> can't do anything. >> >> It seems that I need to keep the admin user as backuppc. >> >> Is it possible to configure the cgi interface of backuppc to grant access >> only after a user/password field has been filled. > The web user passwords are stored in /etc/BackupPC/apache.users (at > least on my Fedora 10 Box) or equivalent file. > > Please use htpasswd command to add/change user password. > > Also check your web server configuration and make sure that you at least have > > AuthType Basic > AuthUserFile /etc/BackupPC/apache.users > AuthName "BackupPC > > require valid-user > > The Apache web server then will prompt for username and password > before allowing access to BackupPC CGI > >> Regards. >> >> Xuo. >> > HTH > With regards, ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/