On Sun, Nov 3, 2013 at 12:56 PM, Freek de Kruijf <f.de.kru...@gmail.com> wrote:
> I am trying to translate the following old syntax into the new concept with
> <Require{All|Any|None}>  but After several tries could not figure out how.
>
> The following old syntax is:
>   Require valid-user
>   Order Deny,Allow
>   Deny from All
>   Allow from 127.0.0.1
>   Allow from .example.com
>   Satisfy any
>
> I tried among others:
> <RequireAll>
>   <RequireAny>
>     Require valid-user
>     Require local
>     Require host .example.com
>   </RequireAny>
>   <RequireNone>
>     Require all granted
>   </RequireNone>
> </RequireAll>

Your old config accepts any 1 of an authenticated user, a user from
127.0.0.1, or a user from example.com -- so it is much simpler.

<RequireAny>
  require ip 127.0.0.1
  require host .exampl.com
  require valid-user
<RequireAny>

(actually RequireAny is the default, but it doesn't hurt to make it explicit)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to