From: Eric Covener Date: Tue, 15 Nov 2016 03:51:20 +0000 (+0000) Subject: xform X-Git-Tag: 2.5.0-alpha~1008 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aab041e2b0806d66f138c3e4bee54960a413d14;p=thirdparty%2Fapache%2Fhttpd.git xform git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1769719 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index be30862f289..941d50cd4f3 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -75,6 +75,7 @@ available
  • HttpProtocolOptions
  • <If>
  • <IfDefine>
  • +
  • <IfFile>
  • <IfModule>
  • Include
  • IncludeOptional
  • @@ -2221,6 +2222,42 @@ if a test is true at startup </IfDefine> + +
    top
    +

    <IfFile> Directive

    + + + + + + +
    Description:Encloses directives that will be processed only +if file exists at startup
    Syntax:<IfFile [!]parameter-name> ... + </IfFile>
    Context:server config, virtual host, directory, .htaccess
    Status:Core
    Module:core
    +

    The <IfFile filename>...</IfFile> + section is used to mark directives that are conditional on + the existence of a file on disk. The directives within an + <IfFile> section are only + processed if the filename exists. If filename + doesn't exist, everything between the start and end markers is + ignored. filename can be an absolute path or a path + relative to the server root.

    + +

    The filename in the <IfFile + > section directive can take the same forms as the + test variable in the <IfDefine + > section, i.e. the test can be negated if the + ! character is placed directly before filename. +

    + +

    If a relative filename is supplied, the check is + ServerRoot relative. In the case where + this directive occurs before the ServerRoot, + the path will be checked relative to the compiled-in server root or + the server root passed in on the command line via the -d + parameter.

    + +
    top

    <IfModule> Directive