Re: Re: How to restrict page access to certain IPs using Apache httpd 2.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> <Location "/ords">
>         AuthType  Kerberos
>         Krb5KeyTab /etc/my.keytab
>         KrbServiceName HTTP/something.com@xxxxxxx
>         KrbAuthRealms ABC.COM
>         KrbMethodNegotiate on
>         KrbMethodK5Passwd on
>         require valid-user
>         Require ip 10.75

It is accepting either Require directive

https://httpd.apache.org/docs/2.4/mod/mod_authz_core.html#require

When multiple Require directives are used in a single configuration
section and are not contained in another authorization directive like
<RequireAll>, they are implicitly contained within a <RequireAny>
directive. Thus the first one to authorize a user authorizes the
entire request, and subsequent Require directives are ignored.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux