apache 2.4 access controls and requires

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

 



I note that the allow/deny old method is deprecated, but I find the
lack of examples problemsome in trying to convert to the newer method,
which I guess we should be doing to avoid bad habbits.

DIR
     Order allow,deny
        Allow from 1.2.0 127.0.0.1
        Satisfy any
        ...auth DB stuff ...
        Require valid-user
/DIR

How would I write this?

DIR
Require all denied
require ip 1.2.0  127.0.0.1
require valid-user
/DIR

That right?  Or do I need to put them inside a requireall/any type of thing?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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