LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: htpasswd

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: htpasswd
From: Noah Roberts <jik@xxxxxxxxxxxxxxx>
Date: Fri, 06 Jul 2001 11:49:21 -0700
Thornton Prime wrote:

> On Fri, 6 Jul 2001, Noah Roberts wrote:
>
> > Still having trouble getting this to work.  If anyone has had success
> > with htpasswords in an LVS cluster please tell me how you did it.  I can
> > find nothing about any token file, no configuration directives, no email
> > list archives with similar problems....nothing.  I RTFM and I STFW and
> > have found nothing.  I really need input here.
>
> What exactly is not working?

I get access denied even though I have the correct user/password combination
supplied.

> We have HTTP authentication working on dozens of sites through LVS with
> all sorts of different password storage from old fashioned htpasswd files
> to LDAP.

old fashioned htpasswd....though with all the problems I am having with it I
probably need to look for a different solution.....I can't get it to work right
outside of LVS either, I get a "Document contains no data" error when I use the
correct user/pass on this box.

> LVS when working properly is pretty transparent to HTTP between the client
> and server.

That is what I thought, but my experience with this is telling me that something
is broken.  I am doing everything according to the books and websites I have
read....I haven't seen anything suggesting that I need to take extraordinary
steps to get mod_auth working (firewall modifications and such).

How are you sharing data between the Real servers in your setup?  Maybe there is
some access token file that I cannot find?  I have the servers sharing the
htdocs, conf, and cgi-bin directories but nothing else.  I already know I will
have to modify that setup slightly for php sessions, maybe I need to share some
other directory for access tokens?  I haven't seen anything in any documentation
suggesting that.




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