BackupPC-users

Re: [BackupPC-users] how to reuse backuppc login within my homepage?

2009-10-26 13:06:08
Subject: Re: [BackupPC-users] how to reuse backuppc login within my homepage?
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 26 Oct 2009 12:02:54 -0500
Matthias Meyer wrote:
> Hello,
> 
> I want to integrate backuppc within my homepage.
> I have a page where visitors can login and I want to reuse this login for
> backuppc too.
> 
> Therefore I have a configuration for my homepage in /etc/apache2/conf.d
> which use the same htpasswd as backuppc:
> 
> Alias /MyHome /usr/share/MyHome/www/
> 
> <Directory /usr/share/MyHome/www/secure>
>         AllowOverride None
> 
> #       Options ExecCGI FollowSymlinks
> #       AddHandler cgi-script .cgi
> #       DirectoryIndex index.cgi
> 
>         AuthGroupFile /etc/backuppc/htgroup
>         AuthUserFile /etc/backuppc/htpasswd
>         AuthType basic
>         AuthName "Login required"
>         require valid-user
> </Directory>
> 
> After http://localhost/backuppc I enter the account data and can access
> http://localhost/MyHome/secure too.
> But after http://localhost/MyHome/secure and enter the account data I can't
> access http://localhost/backuppc. I have to enter the account data again.
> 
> Unfortunately I am not experienced with apache. Hopefully someone can help
> me.

Is your 'Authname' directive the same for the other location where you'd 
like to share credentials?  Normally browsers automatically re-send 
their basic authentication credentials to any request where the host and 
AuthName match.  If the AuthName is different or you end up redirecting 
to a different hostname (even to the same machine) you'll have to re-enter.

-- 
   Les Mikesell
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>