httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apache-1.3 STATUS
Date Mon, 08 May 2000 02:27:20 GMT
On Sun, 7 May 2000, Life is hard, and then you die wrote:
>...
> resource. This is probably more involved than just making the
> ap_auth_type and ap_auth_name fields take more than one value - the
> question of scoping arises. E.g. if I have
> 
> <Directory /foo>
> AuthType Basic
> ...
> </Directory>
> 
> <Directory /foo/bar>
> AuthType Digest
> ...
> </Directory>
> 
> should the resulting auth-type for /for/bar/ be just Digest or both? I
> don't know what the best solution is here.

I think you could use a scheme similar to what Options does:

   AuthType Basic   # set to just Basic
   AuthType +Basic  # add Basic to the allowable types
   AuthType -Basic  # remove Basic from the allowable types


Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/


Mime
View raw message