From d36977776ead210ac6c694dd3b81363fa176dba8 Mon Sep 17 00:00:00 2001 From: pcs Date: Sat, 30 Nov 1996 16:53:29 +0000 Subject: [PATCH] Document Options +/- stuff. Remove duplicate what's new section about mod_headers git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77092 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.html | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index 6819df7c44..4ac63447db 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -694,13 +694,14 @@ See also MaxSpareServers and

Options directive

-Syntax: Options option option ...
+Syntax: Options [+|-]option [+|-]option ...
Context: server config, virtual host, directory, .htaccess
Override: Options
Status: core

The Options directive controls which server features are available in -a particular directory.

+a particular directory. +

option can be set to None, in which case none of the extra features are enabled, or one or more of the following:

@@ -741,8 +742,16 @@ The server will only follow symbolic links for which the target file or directory is owned by the same user id as the link.
-If multiple Options could apply to a directory, then the most specific one is -taken complete; the options are not merged. For example: +Normally, if multiple Options could apply to a directory, +then the most specific one is taken complete; the options are not +merged. However if all the options on the Options directive are +preceeded by a + or - symbol, the options are merged. Any options +preceeded by a + are added to the options currently in force, and any +options preceeded by a - are removed from the options currently in +force.

+ +For example, without any + and - symbols: +

<Directory /web/docs>
Options Indexes FollowSymLinks
@@ -752,7 +761,19 @@ Options Includes
</Directory>
then only Includes will be set for the /web/docs/spec -directory.


+directory. However if the second Options directive uses the + +and - symbols:

+ +

+<Directory /web/docs>
+Options Indexes FollowSymLinks
+</Directory>
+<Directory /web/docs/spec>
+Options +Includes -Indexes
+</Directory> +
+then the options FollowSymLinks and Includes +are set for the /web/docs/spec directory.

PidFile directive

-- 2.40.0