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
     lesmikes...@gmail.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@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to