Re: [BackupPC-users] Authorization Required

2006-11-23 Thread Ralf Gross
Eric Snyder said:
 I just installed BackupPC 3.0 on a new installation on Debian. I had a
 previous installation and have a SCSI drive with backup data from the
 old install so I am hoping to get reconfigured to use those backups. The
 problem currently is that I am getting an Authorization Required
 prompt and the install did not give me a username/password combination
 like that older version did.

 Where is the htpasswd file located so I can change the password to
 something I can use?

I just finished a fresh install on ubuntu 6.06 and put the following at
the end of my /etc/apache2/sites-enabled/000-default file (virtial host
section).

Alias /backuppc/ /usr/local/BackupPC/cgi-bin/
Directory /usr/local/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

I also created a symlink index.cgi - BackupPC_Admin in the cgi directory
and put the user www-data into group backuppc.

Ralf



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Authorization Required

2006-11-23 Thread Eric Snyder
OK. I have done this. For now I have commented out the 
security/authorization section. When I request http://debian/backuppc/ I 
get a file not found. When I request 
http://debian/backuppc/BackupPC_Admin I get the BackupPC_Admin file as a 
text file. I am guessing that I need perl on my Apache2. is this correct?


Ralf Gross wrote:

Eric Snyder said:
  

I just installed BackupPC 3.0 on a new installation on Debian. I had a
previous installation and have a SCSI drive with backup data from the
old install so I am hoping to get reconfigured to use those backups. The
problem currently is that I am getting an Authorization Required
prompt and the install did not give me a username/password combination
like that older version did.

Where is the htpasswd file located so I can change the password to
something I can use?



I just finished a fresh install on ubuntu 6.06 and put the following at
the end of my /etc/apache2/sites-enabled/000-default file (virtial host
section).

Alias /backuppc/ /usr/local/BackupPC/cgi-bin/
Directory /usr/local/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

I also created a symlink index.cgi - BackupPC_Admin in the cgi directory
and put the user www-data into group backuppc.

Ralf



  
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Authorization Required

2006-11-23 Thread Ralf Gross
Eric Snyder said:
 OK. I have done this. For now I have commented out the
 security/authorization section. When I request http://debian/backuppc/ I
 get a file not found.

Did you create the symlink index.cgi - BackupPC_Admin?

 When I request http://debian/backuppc/BackupPC_Admin I get the
 BackupPC_Admin file as a text file. I am guessing that I need perl on my
 Apache2. is this correct?

http://backuppc.sourceforge.net/faq/BackupPC.html#requirements
http://backuppc.sourceforge.net/faq/BackupPC.html#step_8__cgi_interface

I'm not using mod_perl but perl-suid.

Ralf


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/