From 7a55af86f321fba13dedc31531f863aa11eac9d2 Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Mon, 23 Jan 2012 16:16:55 +0000 Subject: [PATCH] Merge r1234876: Document how Include should behave. The present inconsistencies are now subject of PR 52505 instead. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1234878 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.html.en | 13 ++++--------- docs/manual/mod/core.xml | 13 ++++--------- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 36570c7296..9ed410988c 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -2029,13 +2029,9 @@ wildcard matching available in 2.3.6 and later pattern, such as *.conf, for example.

The Include directive will - fail with an error if a wildcard is specified for a - filename or directory component of the patch, but no file or directory - matches the wildcard. The same is true if a wildcard is specified for a - directory component of the path, and a mathing directory does not contain - the filename specified in the path. The - IncludeOptional directive can be - used instead, if non-matching wildcards should be ignored.

+ fail with an error if a wildcard expression does not + match any file. The IncludeOptional + directive can be used if non-matching wildcards should be ignored.

The file path specified may be an absolute path, or may be relative to the ServerRoot directory.

@@ -2056,8 +2052,7 @@ wildcard matching available in 2.3.6 and later

Wildcards may be included in the directory or file portion of the path. This example will fail if there is no subdirectory in conf/vhosts - or if a subdirectory of conf/vhosts does not contain at least one *.conf - file:

+ that contains at least one *.conf file:

Include conf/vhosts/*/*.conf diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 6ea0fa16c7..edc0df35c4 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -2013,13 +2013,9 @@ wildcard matching available in 2.3.6 and later pattern, such as *.conf, for example.

The Include directive will - fail with an error if a wildcard is specified for a - filename or directory component of the patch, but no file or directory - matches the wildcard. The same is true if a wildcard is specified for a - directory component of the path, and a mathing directory does not contain - the filename specified in the path. The - IncludeOptional directive can be - used instead, if non-matching wildcards should be ignored.

+ fail with an error if a wildcard expression does not + match any file. The IncludeOptional + directive can be used if non-matching wildcards should be ignored.

The file path specified may be an absolute path, or may be relative to the ServerRoot directory.

@@ -2041,8 +2037,7 @@ wildcard matching available in 2.3.6 and later

Wildcards may be included in the directory or file portion of the path. This example will fail if there is no subdirectory in conf/vhosts - or if a subdirectory of conf/vhosts does not contain at least one *.conf - file:

+ that contains at least one *.conf file:

Include conf/vhosts/*/*.conf -- 2.40.0