Httpd Require: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→all) |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
<pre> | <pre> | ||
Require [not] < | Require [not] <provider> [provider] ... | ||
</pre> | |||
=Providers= | |||
==all== | |||
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> | </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