On Fri, 6 Jul 2001, Noah Roberts wrote:
> I get access denied even though I have the correct user/password combination
> supplied.
Do you get access when going to the host without going through the LVS?
Are you using virtual servers and maybe LVS is sending you to the wrong
one?
> 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.
Sounds like it is not an LVS issue but a web server configuration issue.
You should solve this issue before trying to debug LVS issues.
"Document contains no data" normally means that your handler for the URL
is broken, not even returning a 500 error code.
> How are you sharing data between the Real servers in your setup?
I rsync content and configuration files normally. We have some cases with
shared storage.
> 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.
Not that I know of.
For PHP sessions you might need to set persistence in the load balancers
on to make sure that subsequent hits get directed to the same server.
None of this should impact mod_auth. As long as mod_auth configurations
and password files are identical on all your real webserver nodes, LVS
won't make a bit of difference.
--
Thornton Prime Senior System Administrator
Jalan Network Services, Inc Architecture and Implementation for e-Business
email:thornton@xxxxxxxxx http://www.jalan.com
phone:888-852-7600x308 fax:877-525-6622
|