I think i have understand some more things about how all these things work... but still i did not
1 - My /usr/share/backuppc/cgi-bin/BackupPC_Admin file is replaced by /usr/share/backuppc/cgi-bin/index.cgi in my configuration 2 - I tried cp /usr/share/backuppc/cgi-bin/index.cgi /var/www/cgi-bin/ This seems to be a part of the solution, but not all of it When i type http://127.0.0.1/backuppc/index.cgi on the browser of any user machine, i get " firefox cannot connect to server 127.0.0.1" (approx translation) I should precise that i do everything within a lan, through a router. I am really not a specialist in apache service configuration, where could the problem come from ? Here are some -more- specific questions : 1-I have these lines both in /etc/apache2/apache2.conf and /etc/apache2/conf.d/backuppc.conf Alias /backuppc /usr/share/backuppc/cgi-bin/ <Directory /usr/share/backuppc/cgi-bin/> AllowOverride None Allow from all # Uncomment the line below to ensure that nobody can sniff importanti # info from network traffic during editing of the BackupPC config or # when browsing/restoring backups. # Requires that you have your webserver set up for SSL (https) access. #SSLRequireSSL 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> Hence, i have the following when i restart apache2 : r...@ubuntubackup:/home/backupadmin# /etc/init.d/apache2 restart * Restarting web server apache2 [Thu Oct 21 01:02:54 2010] [warn] The Alias directive in /etc/apache2/apache2.conf at line 237 will probably never match because it overlaps an earlier Alias. ... waiting .[Thu Oct 21 01:02:56 2010] [warn] The Alias directive in /etc/apache2/apache2.conf at line 237 will probably never match because it overlaps an earlier Alias. [ OK ] Is there a problem with that ? or is it normal ? 2-according to the documentation, i should "setuid" my backupPC_Admin script ---> Are my permissions on index.cgi ok ? ls -l /usr/share/backuppc/cgi-bin/index.cgi -rwsr-x--- 1 backuppc www-data 3993 2009-12-18 16:51 /usr/share/backuppc/cgi-bin/index.cgi 3-According to the documentation, i should "create a .htaccess file in the cgi-bin directory" ---> I created a .htaccess file in /usr/share/backuppc/cgi-bin/ with the following paths for authGroupFile and AuthUserFile (some kind of random choice ...). Is there sopmething wrong with that ? AuthGroupFile /etc/backuppc/htgroup # <--- change path as needed AuthUserFile /etc/backuppc/htpasswd # <--- change path as needed AuthType basic AuthName "access" require valid-user I copied /usr/share/backuppc/cgi-bin/ in /var/www/cgi-bin/ so that : r...@ubuntubackup:/home/backupadmin# ls -l -all /var/www/cgi-bin/ total 16 drwxr-xr-x 2 root root 4096 2010-10-21 01:00 . drwxr-xr-x 3 root root 4096 2010-10-21 00:44 .. -rw-r--r-- 1 root root 189 2010-10-21 01:00 .htaccess lrwxrwxrwx 1 root root 8 2010-10-21 01:00 image -> ../image -rwxr-x--- 1 root root 3993 2010-10-21 01:00 index.cgi 4-what file should i have in /var/www/ (i use my apache server only for backuppc) ? 5-should i configure something, maybe firewall, on my user machines ? 6-Is there something to deal with the router configuration ? What is wrong ? I have the feeling that the best i can is not enough tonight :( Help, please. +---------------------------------------------------------------------- |This was sent by alefri...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +---------------------------------------------------------------------- ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ 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/