From: Jacob Champion Date: Thu, 4 May 2017 22:53:58 +0000 (+0000) Subject: Add an Override Class Index X-Git-Tag: 2.5.0-alpha~434^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ec7888445e8a5d99e86e3950f881361ea68a88e;p=apache Add an Override Class Index This page pulls in directives that declare an element and groups them by class. The documentation for each class comes from overrides.xml. Any undocumented classes are flagged with a boilerplate fallback text (this situation is only likely to occur with a misspelling or otherwise invalid somewhere else in the documentation). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/trunk-override-index@1793922 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/index.xml b/docs/manual/index.xml index 1d9592f9f3..8ed9d8b1d9 100644 --- a/docs/manual/index.xml +++ b/docs/manual/index.xml @@ -44,6 +44,7 @@ Documentation Filters Handlers Expression parser + Override Class Index for .htaccess Server and Supporting Programs Glossary diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 10d228361d..faed53ea45 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -345,10 +345,12 @@ NoDecode option available in 2.3.12 and later. .htaccess files.

The directive-type can be one of the following - groupings of directives.

+ groupings of directives. (See the override class + index for an up-to-date listing of which directives are enabled by each + directive-type.)

-
AuthConfig
+
AuthConfig
@@ -361,7 +363,7 @@ NoDecode option available in 2.3.12 and later. module="mod_authn_file">AuthUserFile, Require, etc.).
-
FileInfo
+
FileInfo
Allow use of the directives controlling document types @@ -398,7 +400,7 @@ NoDecode option available in 2.3.12 and later. mod_actions.
-
Indexes
+
Indexes
Allow use of the directives controlling directory indexing @@ -417,7 +419,7 @@ NoDecode option available in 2.3.12 and later. module="mod_autoindex">ReadmeName, etc.).
-
Limit
+
Limit
Allow use of the directives controlling host access (
-
Options[=Option,...]
+
Options[=Option,...]
Allow use of the directives controlling specific directory @@ -500,6 +502,7 @@ AllowOverride AuthConfig Indexes AllowOverrideList Configuration Files .htaccess Files +Override Class Index for .htaccess diff --git a/docs/manual/mod/overrides.xml b/docs/manual/mod/overrides.xml new file mode 100644 index 0000000000..6e611fe357 --- /dev/null +++ b/docs/manual/mod/overrides.xml @@ -0,0 +1,134 @@ + + + + + + + + + Override Class Index for .htaccess + +

+ This is an index of the directives that are allowed in .htaccess files for + each AllowOverride setting. To + determine the set of directives that your server configuration allows + .htaccess users to use: +

+ +
    +
  1. Start with the set of directives in the AllowOverrideList + for the directory in question. (By default, this is set to + None.)
  2. +
  3. Find the AllowOverride setting for the directory in + question. (By default, it is set to None.) There are two + special cases: +
      +
    1. If your AllowOverride setting is All, + add every directive listed on this page to the list.
    2. +
    3. If your AllowOverride setting is None, + you're done. Only the directives in the AllowOverrideList + (if any) will be allowed.
    4. +
    +
  4. +
  5. For each override class listed in AllowOverride, look up + the corresponding set of directives below and add them to the list.
  6. +
  7. Finally, add the set of directives that is always allowed in + .htaccess (these are listed in the + All section, below).
  8. +
+ +

+ Several of the override classes are quite powerful and give .htaccess + users a large amount of control over the server. For a stricter approach, + set AllowOverride None and use + AllowOverrideList to specify the + exact list of directives that .htaccess users are allowed to use. +

+
+ + + + +

+ The following directives are allowed in any .htaccess file, as long as + overrides are enabled in the server configuration. +

+
+ + +

+ The following directives are allowed in .htaccess files when + AllowOverride AuthConfig is in effect. They give .htaccess + users control over the authentication and authorization methods that are + applied to their directory subtrees, including several related utility + directives for session handling and TLS settings. +

+
+ + +

+ The following directives are allowed in .htaccess files when + AllowOverride FileInfo is in effect. They give .htaccess + users a wide range of control over the responses and metadata given by the + server. +

+
+ + +

+ The following directives are allowed in .htaccess files when + AllowOverride Indexes is in effect. They allow .htaccess + users to control aspects of the directory index pages provided by the + server, including autoindex generation. +

+
+ + +

+ The following directives are allowed in .htaccess files when + AllowOverride Limit is in effect. This extremely narrow + override type mostly allows the use of the legacy authorization directives + provided by mod_access_compat. +

+
+ + +

+ The following directives are allowed in .htaccess files when + AllowOverride Options is in effect. They give .htaccess + users access to Options and similar directives, as well as + directives that control the filter chain. +

+
+ + + +

+ [This section has no description. It's possible that the documentation is + incomplete, or that the directives here have an incorrect or misspelled + Override type. Please consider reporting this in the + comments section.] +

+
+
diff --git a/docs/manual/sitemap.xml b/docs/manual/sitemap.xml index 8a578dd485..e22050eef3 100644 --- a/docs/manual/sitemap.xml +++ b/docs/manual/sitemap.xml @@ -193,6 +193,7 @@ log_server_status Module index Directive index Directive Quick-Reference +Override class index for .htaccess diff --git a/docs/manual/style/css/manual.css b/docs/manual/style/css/manual.css index 821f97f8bb..b3b024d46f 100644 --- a/docs/manual/style/css/manual.css +++ b/docs/manual/style/css/manual.css @@ -611,6 +611,12 @@ div#directive-list ul { padding: 0; } +/* override index */ +/* ============== */ +div#override-list td.module { + width: 20%; +} + /* indextable */ /* ========== */ table#indextable td ul { diff --git a/docs/manual/style/modulesynopsis.dtd b/docs/manual/style/modulesynopsis.dtd index 4dac5efc41..1ca9b06542 100644 --- a/docs/manual/style/modulesynopsis.dtd +++ b/docs/manual/style/modulesynopsis.dtd @@ -75,3 +75,11 @@ usage?, seealso*)> + + + + + + + diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl index 64fa99b40e..505d113a59 100644 --- a/docs/manual/style/xsl/common.xsl +++ b/docs/manual/style/xsl/common.xsl @@ -64,6 +64,7 @@ + diff --git a/docs/manual/style/xsl/overrideindex.xsl b/docs/manual/style/xsl/overrideindex.xsl new file mode 100644 index 0000000000..e65d28bea3 --- /dev/null +++ b/docs/manual/style/xsl/overrideindex.xsl @@ -0,0 +1,249 @@ + + + + + +]> + + + + + + + + + + &lf; + + + + &lf; + &lf;&lf; + +
+ + +
+

+ +

&lf; + + &lf; + + +
&lf; + + + +
+ + +

+ +

&lf; + +
    &lf; + +
+
+
+ + + +

+ +

&lf; + +
    &lf; + +
  • + +
  • &lf; +
    + +
  • +
  • +
    +
+
+
+
&lf; + +
+ + + + + + + + + + + + +
+
+ + &lf; + + +
+ + + + + + + + + + + + + +
  • + + + + + +
  • &lf; +
    +
    + + + + + + + + +
    + + top + +
    + +
    + +

    + + + +

    + + + + + + + + + + + + + odd + + + + + + &lf; + + + + odd + + + + &lf; + +
    + + < + + > + + + + + +
    + + + + + + - + + +
    +
    +
    + + + + + + + + + + + + + + + + + +