From: Jeff Trawick Date: Mon, 8 Nov 2010 13:16:11 +0000 (+0000) Subject: generated changes X-Git-Tag: 2.3.9~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=562d7b0ec2410db8e84569d597a487f09a2b98b9;p=apache generated changes git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1032566 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 46e0a4338a..88a1fba225 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -48,6 +48,7 @@ available
  • DocumentRoot
  • EnableMMAP
  • EnableSendfile
  • +
  • Error
  • ErrorDocument
  • ErrorLog
  • ErrorLogFormat
  • @@ -937,6 +938,42 @@ version 2.3.9. is taken into account by the module.

    + +
    top
    +

    Error Directive

    + + + + + + + +
    Description:Abort configuration parsing with a custom error message
    Syntax:Error message
    Context:server config, virtual host, directory, .htaccess
    Status:Core
    Module:core
    Compatibility:2.3.9 and later
    +

    If an error can be detected within the configuration, this + directive can be used to generate a custom error message, and halt + configuration parsing. The typical use is for reporting required + modules which are missing from the configuration.

    + +

    Example

    + # ensure that mod_include is loaded
    + <IfModule !include_module>
    + Error mod_include is required by mod_foo. Load it with LoadModule.
    + </IfModule>
    +
    + # ensure that exactly one of SSL,NOSSL is defined
    + <IfDefine SSL>
    + <IfDefine NOSSL>
    + Error Both SSL and NOSSL are defined. Define only one of them.
    + </IfDefine>
    + </IfDefine>
    + <IfDefine !SSL>
    + <IfDefine !NOSSL>
    + Error Either SSL or NOSSL must be defined.
    + </IfDefine>
    + </IfDefine>
    +

    + +
    top

    ErrorDocument Directive

    diff --git a/docs/manual/mod/core.xml.de b/docs/manual/mod/core.xml.de index 28a8fc8361..05544c1893 100644 --- a/docs/manual/mod/core.xml.de +++ b/docs/manual/mod/core.xml.de @@ -1,7 +1,7 @@ - + + +