Thanks for the replies.

I'll carry on and see if I can get to the bottom of the other make
test failures. At that point I'll seek advice on whether or not the mp
archive needs an update.

I've moved on to access2.t now. The difference with access.t is that
user id authentication is required. No matter what I try my response
always starts off:

<html><head>
<title>401 Authorization Required</title>
</head><body>
<h1>Authorization Required</h1>
<p>This server could not verify that you
are authorized to access the document
requested.  Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn\'t understand how to supply
the credentials required.</p>
<hr>

This is the relevant httpd.conf section:

<Location /TestAPI__access2>
    PerlAuthenHandler TestAPI::access2
    PerlResponseHandler Apache::TestHandler::ok1
    SetHandler modperl

    <IfModule mod_authz_host.c>
        # needed to test $r->satisfies
        Allow from All
    </IfModule>
    AuthType Basic
   AuthName "Access"
    Require user goo bar
    Require group bar tar
    <Limit POST>
        Require valid-user
    </Limit>
    Satisfy All
    <IfModule mod_auth_basic.c>
        # htpasswd -mbc auth-users goo foo
        # htpasswd -mb auth-users bar mar
        # using md5 password so it'll work on win32 too
        AuthUserFile
/home/mrstlee/.cpan/build/mod_perl-2.0.3-YQdTDD/t/htdocs/api/auth-users
        # group: user1 user2 ...
        AuthGroupFile
/home/mrstlee/.cpan/build/mod_perl-2.0.3-YQdTDD/t/htdocs/api/auth-groups
    </IfModule>
</Location>

This is as created by the make test process. As far as I can gather
from the dev (2.3) documentation it looks ok. I've tried recreating
the auth files to make sure the passwords passed in the access2.t
script are correct & adding an 'AuthBasicProvider file' line. No
change.

Again - this works when built against 2.2.6. Any ideas greatly appreciated.

Rolf
.

Reply via email to