Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 14095 invoked from network); 4 Apr 2010 01:28:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Apr 2010 01:28:42 -0000 Received: (qmail 69671 invoked by uid 500); 4 Apr 2010 01:28:42 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 69606 invoked by uid 500); 4 Apr 2010 01:28:41 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 69599 invoked by uid 99); 4 Apr 2010 01:28:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Apr 2010 01:28:41 +0000 X-ASF-Spam-Status: No, hits=-1261.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Apr 2010 01:28:39 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 24FF92388978; Sun, 4 Apr 2010 01:28:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r930606 [1/2] - in /httpd/httpd/trunk/docs/manual/mod: core.html.en core.xml.de core.xml.ja core.xml.tr directives.html.en quickreference.html.en Date: Sun, 04 Apr 2010 01:28:18 -0000 To: cvs@httpd.apache.org From: rbowen@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100404012819.24FF92388978@eris.apache.org> Author: rbowen Date: Sun Apr 4 01:28:18 2010 New Revision: 930606 URL: http://svn.apache.org/viewvc?rev=930606&view=rev Log: Rebuild various transformations. Modified: httpd/httpd/trunk/docs/manual/mod/core.html.en httpd/httpd/trunk/docs/manual/mod/core.xml.de httpd/httpd/trunk/docs/manual/mod/core.xml.ja httpd/httpd/trunk/docs/manual/mod/core.xml.tr httpd/httpd/trunk/docs/manual/mod/directives.html.en httpd/httpd/trunk/docs/manual/mod/quickreference.html.en Modified: httpd/httpd/trunk/docs/manual/mod/core.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.html.en?rev=930606&r1=930605&r2=930606&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/core.html.en (original) +++ httpd/httpd/trunk/docs/manual/mod/core.html.en Sun Apr 4 01:28:18 2010 @@ -61,7 +61,6 @@ available
  • <IfDefine>
  • <IfModule>
  • Include
  • -
  • IncludeStrict
  • KeepAlive
  • KeepAliveTimeout
  • <Limit>
  • @@ -1574,8 +1573,7 @@ later. - + @@ -1596,20 +1594,27 @@ wildcard matching available in 2.3.6 and wildcard syntax shown below, to include files that match a particular pattern, such as *.conf, for example.

    -

    When a wildcard is specified for a file or directory component of the - path, and no file or directory matches the wildcard, the - Include directive will be - silently ignored. When a directory or file component of the path is +

    When a wildcard is specified for a file component of + the path, and no file matches the wildcard, the + Include + directive will be silently ignored. When a wildcard is + specified for a directory component of the path, and + no directory matches the wildcard, the + Include directive will + fail with an error saying the directory cannot be found. +

    + +

    For further control over the behaviour of the server when no files or + directories match, prefix the path with the modifiers optional + or strict. If optional is specified, any wildcard + file or directory that does not match will be silently ignored. If + strict is specified, any wildcard file or directory that does + not match at least one file will cause server startup to fail.

    + +

    When a directory or file component of the path is specified exactly, and that directory or file does not exist, Include directive will fail with an - error saying the file or directory cannot be found. This removes the need - for placeholder files to exist so that at least one file or directory is - found by the wildcard.

    - -

    Under certain circumstances, it may be required for the server to fail - explicitly when no files or directories match a specific wildcard. In these - cases, use the IncludeStrict - directive instead.

    + error saying the file or directory cannot be found.

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

    @@ -1629,54 +1634,28 @@ wildcard matching available in 2.3.6 and

    Wildcards may be included in the directory or file portion of the - path:

    + path. In the following example, the server will fail to load if no + directories match conf/vhosts/*, but will load successfully if no + files match *.conf.

    - Include conf/vhosts/*/vhost.conf + Include conf/vhosts/*/vhost.conf
    Include conf/vhosts/*/*.conf

    +

    In this example, the server will fail to load if either + conf/vhosts/* matches no directories, or if *.conf matches no files:

    -

    See also

    - - -
    top
    -
    Description:Includes other configuration files from within the server configuration files
    Syntax:Include file-path|directory-path| -wildcard
    Syntax:Include [optional|strict] file-path|directory-path|wildcard
    Context:server config, virtual host, directory
    Status:Core
    Module:core
    - - - - - - -
    Description:Includes other configuration files from within the server -configuration files, throwing an error if no files or directories match -a wildcard -
    Syntax:IncludeStrict file-path|directory-path| -wildcard
    Context:server config, virtual host, directory
    Status:Core
    Module:core
    Compatibility:Available in 2.3.6 and later
    -

    This directive allows inclusion of other configuration files - from within the server configuration files.

    - -

    It is functionally equivalent to the - Include directive, with the additional - restriction that any wildcards are required to match at least one file or - directory.

    - -

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

    - -

    Example:

    - -

    The server will fail to load if the wildcard path - /usr/local/apache2/conf/vhosts/*.conf does not match at least - one file or directory.

    +

    + Include strict conf/vhosts/*/*.conf +

    + +

    In this example, the server load successfully if either conf/vhosts/* + matches no directories, or if *.conf matches no files:

    -

    - IncludeStrict /usr/local/apache2/conf/ssl.conf
    - IncludeStrict /usr/local/apache2/conf/vhosts/*.conf -

    +

    + Include optional conf/vhosts/*/*.conf +

    See also

    Modified: httpd/httpd/trunk/docs/manual/mod/core.xml.de URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.xml.de?rev=930606&r1=930605&r2=930606&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/core.xml.de (original) +++ httpd/httpd/trunk/docs/manual/mod/core.xml.de Sun Apr 4 01:28:18 2010 @@ -1,7 +1,7 @@ - + + +