Rolf Banting wrote:
> I can answer my own question, at least in part.
> 
> In the t/httpd.conf  location /TestAPI__access has AuthType none and
> AuthName modperl defined. If I comment those out t/api/access.t passes
> except for test 7. Test 7 expects 'none' as AuthType whereas in fact
> it is 'undef' now.
> 
> I've looked through the server 1.3,2.0, 2.2 & dev documentation. They
> all say that there are 2 possible values for AuthType - Basic or
> Digest. 

those are the two default values handled by the included httpd
authentication handlers.

you can absolutely define any AuthType you want if you intend on writing
a new, fully implemented authen handler in mod_perl - httpd will only
balk if you don't write the handler properly and control ends up being
passed to httpd proper (the mod_perl authen handler will supersede httpd).

> From my apache/mp novice perspective it looks as though
> access.t really should also fail for mp vs 2.2.6 since 'none' does not
> appear to a legal AuthType.

nope, this definitely works on 2.2.6.  something in trunk must have
changed that removes capabilities provided since 1.3.

> 
> Anyway - should access.t & t/conf/httpd.conf in the mod_perl trunk be
> changed? I am quite happy to do this.

I don't think it's that simple.  first, this is httpd-trunk - we ought
to figure out whether this change is intended, part of a work in
progress, or just a mistake.  after that we can figure out how to handle it.

--Geoff

Reply via email to