Help - Apache and Netscape get into "authentication" battle

Help - Apache and Netscape get into "authentication" battle

Post by Michael Le » Fri, 16 Oct 1998 04:00:00



Help!  I have a doozy.  Apache 1.3.2 and Netscape Communicator 4.0.4

    % ../sbin/httpd -version
    Server version: Apache/1.3.2 (Unix)
    Server built:   Sep 27 1998 20:42:44
    %

I'm trying to do this:

  /     accessible by user ABC with a password

  /foo  accessible by user XYZ with a password, also to ABC with password

I almost have it working.  The only problem I have is when user XYZ
properly authenticates and surfs around the /foo location, and then
tries to access the / location, the browser and server "loop" in some kind
of "authentication battle" FOREVER.  The error log just grows and grows
until I hit <STOP> on the browser.

Here is the access.conf file

<Directory />
Order Deny,Allow
Allow from All
Options FollowSymLinks
AllowOverride All
AuthUserFile /usr/local/apache/etc/htpasswd.users
AuthType Basic
AuthName MyFooRealm
</Directory>

<Location />
require user abc
</Location>

<Location /foo/>
require user abc xyz
</Location>

Any help would be appreciated!


Caribou Lake Software  http://www.cariboulake.com  Java/RDBMS/Ingres Solutions
Minneapolis, Minnesota (612) 323-9713

Java: Scalable, Re-usable, Portable, Readable.  Why code spaghetti?