httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Téssio Fechine <>
Subject [users@httpd] Question About ACL
Date Mon, 26 Mar 2012 11:10:41 GMT
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 domain are allowed access; all other
hosts are denied access.

Order Deny,Allow
Deny from all
Allow from

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   (allow this specific hosts)

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

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

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