BackupPC-users

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

2009-10-27 17:01:35
Subject: Re: [BackupPC-users] how to reuse backuppc login within my homepage?
From: Matthias Meyer <matthias.meyer AT gmx DOT li>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 27 Oct 2009 21:56:56 +0100
Les Mikesell wrote:

> 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.
> 
I had different AuthName. I will try it with the same AuthName.
Thanks
Matthias
-- 
Don't Panic


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