Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 96799 invoked from network); 8 Nov 2010 13:16:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Nov 2010 13:16:56 -0000 Received: (qmail 30090 invoked by uid 500); 8 Nov 2010 13:17:28 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 29885 invoked by uid 500); 8 Nov 2010 13:17:26 -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 29878 invoked by uid 99); 8 Nov 2010 13:17:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 13:17:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 08 Nov 2010 13:17:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B2BD523888EC; Mon, 8 Nov 2010 13:16:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1032566 [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: Mon, 08 Nov 2010 13:16:11 -0000 To: cvs@httpd.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101108131611.B2BD523888EC@eris.apache.org> Author: trawick Date: Mon Nov 8 13:16:11 2010 New Revision: 1032566 URL: http://svn.apache.org/viewvc?rev=1032566&view=rev Log: generated changes 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=1032566&r1=1032565&r2=1032566&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/core.html.en (original) +++ httpd/httpd/trunk/docs/manual/mod/core.html.en Mon Nov 8 13:16:11 2010 @@ -48,6 +48,7 @@ available
  • DocumentRoot
  • EnableMMAP
  • EnableSendfile
  • +
  • Error
  • ErrorDocument
  • ErrorLog
  • ErrorLogFormat
  • @@ -939,6 +940,42 @@ version 2.3.9.
    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

    Description:What the server will return to the client 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=1032566&r1=1032565&r2=1032566&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/core.xml.de (original) +++ httpd/httpd/trunk/docs/manual/mod/core.xml.de Mon Nov 8 13:16:11 2010 @@ -1,7 +1,7 @@ - + + +