Re: [BackupPC-users] Authorization Required

2006-11-24 Thread Eric Snyder
No, my BackupPC_Admin is already in my cgi-bin directory. Do both the 
symlink and the BackupPC_Admin need to be in the cgi-bin directory?


Thanks for the links on perl, I will read up and learn how to configure 
Apache2 with perl support. I am a windows guy and am only now learning 
linux. It's fun and I see why linux is much more secure than windows. It 
is however, very different to get things done in, windows being all plug 
and play and linux being very configuration file driven and compiling 
things rather than installing with exe files.


Thanks for your patience!
Eric

Ralf Gross wrote:

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/

  
-
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-24 Thread Ralf Gross
Eric Snyder said:
 No, my BackupPC_Admin is already in my cgi-bin directory. Do both the
 symlink and the BackupPC_Admin need to be in the cgi-bin directory?

If you want to use http://debian/backuppc/ as your BackupPC link you need
a index file that apache knows (index.cgi).

 Thanks for the links on perl, I will read up and learn how to configure
 Apache2 with perl support. I am a windows guy and am only now learning
 linux. It's fun and I see why linux is much more secure than windows. It
 is however, very different to get things done in, windows being all plug
 and play and linux being very configuration file driven and compiling
 things rather than installing with exe files.

On debian perl should already be installed. You can check which perl
packages are installed with something like

dpkg -l *perl* | grep ^ii
ii  libarchive-zip-perl   1.16-1  Module for manipulation
of ZIP archives
ii  libcompress-bzip2-perl2.09-1  Perl interface to Bzip2
compression library
ii  libcompress-zlib-perl 1.41-1  Perl module for creation
and manipulation of
[snip]

Looking at the error.log in /var/log/apache2/ might help too.

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:
 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/


[BackupPC-users] Authorization Required

2006-11-22 Thread Eric Snyder
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?

- OR -

Ho do I completely get rid of the need for authentication. I am running 
in a situation that has low security risks.

-
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/