httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1361160 - /httpd/httpd/branches/2.4.x/docs/manual/custom-error.xml
Date Fri, 13 Jul 2012 11:16:49 GMT
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:</p>
 
-      <example>
-        ... <br />
-        print  "Content-type: text/html\n"; <br />
-        printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; <br />
-        ...
-      </example>
+       <highlight language="perl">
+...
+print  "Content-type: text/html\n"; <br />
+printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; <br />
+...
+      </highlight>
 
       <p>If the script is dedicated to handling a particular error
       condition, such as <code>404&nbsp;Not&nbsp;Found</code>, it can
@@ -174,10 +174,10 @@ ErrorDocument 401 /subscription/how_to_s
 
     <p>In your server configuration file, you'll see a line such as:</p>
 
-    <example>
+    <highlight language="config">
     # Multi-language error messages<br />
     #Include conf/extra/httpd-multilang-errordoc.conf
-    </example>
+    </highlight>
 
     <p>Uncommenting this <code>Include</code> line will enable this
     feature, and provide language-negotiated error messages, based on



Mime
View raw message