X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=docs%2Fmanual%2Fmod%2Fcore.html.en;h=c38a5e13f9856d031b6cbceb32cdb14c1519c3cd;hb=79a6a93588bbb75a5edbe60e162d91b6561702e0;hp=404e965c5091d044ee5da53ec3a911d447d296ff;hpb=39f57c0051db377f45db33608dd374c9a48c7bf0;p=apache diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 404e965c50..c38a5e13f9 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -40,6 +40,7 @@ available
<Files>
sections.
- When this directive is set to None
, then
- .htaccess files are completely ignored.
- In this case, the server will not even attempt to read
- .htaccess
files in the filesystem.
When this directive is set to None
and AllowOverrideList
is set to
+ None
.htaccess files are
+ completely ignored. In this case, the server will not even attempt
+ to read .htaccess
files in the filesystem.
When this directive is set to All
, then any
directive which has the .htaccess Context is allowed in
@@ -499,9 +500,64 @@ NoDecode option available in 2.3.12 and later.
.htaccess
file.
Description: | Individual directives that are allowed in
+.htaccess files |
---|---|
Syntax: | AllowOverrideList None|directive
+[directive-type] ... |
Default: | AllowOverrideList None |
Context: | directory |
Status: | Core |
Module: | core |
When the server finds an .htaccess
file (as
+ specified by AccessFileName
)
+ it needs to know which directives declared in that file can override
+ earlier configuration directives.
AllowOverrideList
is valid only in
+ <Directory>
+ sections specified without regular expressions, not in <Location>
, <DirectoryMatch>
or
+ <Files>
sections.
+ When this directive is set to None
and AllowOverride
is set to None
,
+ then .htaccess files are completely
+ ignored. In this case, the server will not even attempt to read
+ .htaccess
files in the filesystem.
Example:
+ +
+ AllowOverride None
+ AllowOverrideList Redirect RedirectMatch
+
In the example above only the Redirect
and
+ RedirectMatch
directives are allowed. All others will
+ cause an internal server error.
Example:
+ +
+ AllowOverride AuthConfig
+ AllowOverrideList CookieTracking CookieName
+
In the example above AllowOverride
+
grants permission to the AuthConfig
+ directive grouping and AllowOverrideList
grants
+ permission to only two directves from the FileInfo
directive
+ grouping. All others will cause an internal server error.