]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add missing highlighting
authorDaniel Gruno <humbedooh@apache.org>
Fri, 13 Jul 2012 11:12:06 +0000 (11:12 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Fri, 13 Jul 2012 11:12:06 +0000 (11:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1361155 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/custom-error.xml

index da6159396d1d1e47d5f655e81d4aa0a341c1d0a7..6a8fd39bf52cd45cd77c4397e77144b775505f2e 100644 (file)
@@ -145,12 +145,12 @@ ErrorDocument 401 /subscription/how_to_subscribe.html
       caused it to be invoked. For instance, a Perl ErrorDocument
       script might include the following:</p>
 
-      <example>
-        ... <br />
+       <highlight language="perl">
+        ...
         print  "Content-type: text/html\n"; <br />
         printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; <br />
         ...
-      </example>
+      </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_subscribe.html
 
     <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