Skip to main content

Access Control

Require Directive

Ref: Require Directive

Order of Allow and Deny

info

Deprecated by Require

Order Allow, Deny
// Pseudo code

function isAllow(match_allow, match_deny) {
// Default
allow = false;

if (match_allow) {
allow = true;
}

if (match_deny) {
allow = false;
}

return allow;
}

Order Deny, Allow
// Pseudo code

function isAllow(match_allow, match_deny) {
// Default
allow = true;

if (match_deny) {
allow = false;
}

if (match_allow) {
allow = true;
}

return allow;
}

Ref: Apache Module mod_access_compat