Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA97C9294 for ; Fri, 13 Jul 2012 11:17:10 +0000 (UTC) Received: (qmail 73579 invoked by uid 500); 13 Jul 2012 11:17:10 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 73501 invoked by uid 500); 13 Jul 2012 11:17:10 -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 73486 invoked by uid 99); 13 Jul 2012 11:17:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2012 11:17:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Fri, 13 Jul 2012 11:17:09 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9E4202388847; Fri, 13 Jul 2012 11:16:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1361160 - /httpd/httpd/branches/2.4.x/docs/manual/custom-error.xml Date: Fri, 13 Jul 2012 11:16:49 -0000 To: cvs@httpd.apache.org From: humbedooh@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120713111649.9E4202388847@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: humbedooh Date: Fri Jul 13 11:16:49 2012 New Revision: 1361160 URL: http://svn.apache.org/viewvc?rev=1361160&view=rev Log: Add missing highlighting Modified: httpd/httpd/branches/2.4.x/docs/manual/custom-error.xml Modified: httpd/httpd/branches/2.4.x/docs/manual/custom-error.xml URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/custom-error.xml?rev=1361160&r1=1361159&r2=1361160&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/docs/manual/custom-error.xml (original) +++ httpd/httpd/branches/2.4.x/docs/manual/custom-error.xml Fri Jul 13 11:16:49 2012 @@ -145,12 +145,12 @@ ErrorDocument 401 /subscription/how_to_s caused it to be invoked. For instance, a Perl ErrorDocument script might include the following:

- - ...
- print "Content-type: text/html\n";
- printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"};
- ... -
+ +... +print "Content-type: text/html\n";
+printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"};
+... +

If the script is dedicated to handling a particular error condition, such as 404 Not Found, it can @@ -174,10 +174,10 @@ ErrorDocument 401 /subscription/how_to_s

In your server configuration file, you'll see a line such as:

- + # Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf -
+

Uncommenting this Include line will enable this feature, and provide language-negotiated error messages, based on