Httpd Require: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= =httpd Configuration#Directives") |
(→all) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=External= | |||
* http://httpd.apache.org/docs/current/mod/mod_authz_core.html#require | |||
=Internal= | =Internal= | ||
* [[httpd Configuration#Directives|httpd Directives]] | |||
=Overview= | |||
Tests whether an authenticated user is authorized by an authorization provider ''and'' according the specified restrictions. The general syntax is: | |||
<pre> | |||
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> |
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