Question About ACL

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

 



Hello,
I am learning apache, and the ironic part is that reading the apache documentation on acl reinforced my doubt in this matter.

In this part:
In the following example, all hosts in the apache.org domain are allowed access; all other hosts are denied access.

Order Deny,Allow
Deny from all
Allow from apache.org

---
My interpretation on this example:

Order Deny,Allow   (allow everything, unless specifically denied)
Deny from all   (deny everything.. kind of contradictory after the last line) 
Allow from apache.org   (allow this specific hosts)

---
Why not use this, that has fewer steps and seems more logical?:

Order Allow,Deny   (deny by default)
Allow from apache.org   (allow this specific hosts)

I am getting it wrong or what? Why almost every example I see seems kind of contradictory?

[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