Httpd Require: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
Line 19: Line 19:
==all==
==all==


<tt>all</tt>
The <tt>all</tt> provider mimics the functionality that was previously provided by the 'Allow from all' and 'Deny from all' directives. This provider can take one of two arguments which are 'granted' or 'denied'.
 
The following examples will grant access to all requests.
 
<pre>
Require all granted
</pre>
 
The following examples will deny access to all requests.
 
<pre>
Require all denied
</pre>

Latest revision as of 20:38, 11 January 2016

External

Internal

Overview

Tests whether an authenticated user is authorized by an authorization provider and according the specified restrictions. The general syntax is:

Require [not] <provider> [provider] ...

Providers

all

The all provider mimics the functionality that was previously provided by the 'Allow from all' and 'Deny from all' directives. This provider can take one of two arguments which are 'granted' or 'denied'.

The following examples will grant access to all requests.

Require all granted

The following examples will deny access to all requests.

Require all denied