]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Use syntax highlight example style.
authorRich Bowen <rbowen@apache.org>
Tue, 14 Apr 2026 17:54:05 +0000 (17:54 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 14 Apr 2026 17:54:05 +0000 (17:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933054 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/programs/ctlogconfig.html.en.utf8
docs/manual/programs/ctlogconfig.xml
docs/manual/programs/httxt2dbm.html.en.utf8
docs/manual/programs/httxt2dbm.xml

index 01e1a43cdc710a1c4418a864cfba4943ad070888..9481bf8a0f98455c9e31f4f1d88dc6256edae2db 100644 (file)
 
   <p>First we'll configure the URLs for logs where server certificates are logged:</p>
 
-  <div class="example"><p><code>
-    $ ctlogconfig /path/to/conf/log-config configure-url http://log1.example.com/<br />
-    $ ctlogconfig /path/to/conf/log-config configure-url http://log2.example.com/<br />
-    $ ctlogconfig /path/to/conf/log-config dump<br />
-    Log entry:<br />
-      Record 1<br />
-      Log id         : (not configured)<br />
-      Public key file: (not configured)<br />
-      URL            : http://log1.example.com/<br />
-      Time range     : -INF to +INF<br />
-<br />
-    Log entry:<br />
-      Record 2<br />
-      Log id         : (not configured)<br />
-      Public key file: (not configured)<br />
-      URL            : http://log2.example.com/<br />
-      Time range     : -INF to +INF<br />
-  </code></p></div>
+  <div class="example"><pre class="prettyprint lang-sh">$ ctlogconfig /path/to/conf/log-config configure-url http://log1.example.com/
+$ ctlogconfig /path/to/conf/log-config configure-url http://log2.example.com/
+$ ctlogconfig /path/to/conf/log-config dump
+Log entry:
+  Record 1
+  Log id         : (not configured)
+  Public key file: (not configured)
+  URL            : http://log1.example.com/
+  Time range     : -INF to +INF
+
+Log entry:
+  Record 2
+  Log id         : (not configured)
+  Public key file: (not configured)
+  URL            : http://log2.example.com/
+  Time range     : -INF to +INF</pre>
+</div>
 
   <p>Next we'll set the public key of a log where the certificate of our only
   backend server is published.  In this case it is the log with URL
   http://log2.example.com/ which has already been configured.</p>
 
-  <div class="example"><p><code>
-    $ ctlogconfig /path/to/conf/log-config configure-public-key \#2 /path/to/conf/log2-pub.pem<br />
-    $ ctlogconfig /path/to/conf/log-config dump<br />
-    Log entry:<br />
-      Record 1<br />
-      Log id         : (not configured)<br />
-      Public key file: (not configured)<br />
-      URL            : http://log1.example.com/<br />
-      Time range     : -INF to +INF<br />
-<br />
-    Log entry:<br />
-      Record 2<br />
-      Log id         : (not configured)<br />
-      Public key file: /path/to/conf/log2-pub.pem<br />
-      URL            : http://log2.example.com/<br />
-      Time range     : -INF to +INF<br />
-  </code></p></div>
+  <div class="example"><pre class="prettyprint lang-sh">$ ctlogconfig /path/to/conf/log-config configure-public-key \#2 /path/to/conf/log2-pub.pem
+$ ctlogconfig /path/to/conf/log-config dump
+Log entry:
+  Record 1
+  Log id         : (not configured)
+  Public key file: (not configured)
+  URL            : http://log1.example.com/
+  Time range     : -INF to +INF
+
+Log entry:
+  Record 2
+  Log id         : (not configured)
+  Public key file: /path/to/conf/log2-pub.pem
+  URL            : http://log2.example.com/
+  Time range     : -INF to +INF</pre>
+</div>
 </div></div>
 <div class="bottomlang">
 <p><span>Available Languages: </span><a href="../en/programs/ctlogconfig.html" title="English">&nbsp;en&nbsp;</a> |
index 87fd2536900084b500441fc1fa72153dc359961c..a2bc55b41c5edfab5f34adbe82865039d70b7520 100644 (file)
   <p>First we'll configure the URLs for logs where server certificates are logged:</p>
 
   <example>
-    $ ctlogconfig /path/to/conf/log-config configure-url http://log1.example.com/<br />
-    $ ctlogconfig /path/to/conf/log-config configure-url http://log2.example.com/<br />
-    $ ctlogconfig /path/to/conf/log-config dump<br />
-    Log entry:<br />
-      Record 1<br />
-      Log id         : (not configured)<br />
-      Public key file: (not configured)<br />
-      URL            : http://log1.example.com/<br />
-      Time range     : -INF to +INF<br />
-<br />
-    Log entry:<br />
-      Record 2<br />
-      Log id         : (not configured)<br />
-      Public key file: (not configured)<br />
-      URL            : http://log2.example.com/<br />
-      Time range     : -INF to +INF<br />
+<highlight language="sh">
+$ ctlogconfig /path/to/conf/log-config configure-url http://log1.example.com/
+$ ctlogconfig /path/to/conf/log-config configure-url http://log2.example.com/
+$ ctlogconfig /path/to/conf/log-config dump
+Log entry:
+  Record 1
+  Log id         : (not configured)
+  Public key file: (not configured)
+  URL            : http://log1.example.com/
+  Time range     : -INF to +INF
+
+Log entry:
+  Record 2
+  Log id         : (not configured)
+  Public key file: (not configured)
+  URL            : http://log2.example.com/
+  Time range     : -INF to +INF
+</highlight>
   </example>
 
   <p>Next we'll set the public key of a log where the certificate of our only
   http://log2.example.com/ which has already been configured.</p>
 
   <example>
-    $ ctlogconfig /path/to/conf/log-config configure-public-key \#2 /path/to/conf/log2-pub.pem<br />
-    $ ctlogconfig /path/to/conf/log-config dump<br />
-    Log entry:<br />
-      Record 1<br />
-      Log id         : (not configured)<br />
-      Public key file: (not configured)<br />
-      URL            : http://log1.example.com/<br />
-      Time range     : -INF to +INF<br />
-<br />
-    Log entry:<br />
-      Record 2<br />
-      Log id         : (not configured)<br />
-      Public key file: /path/to/conf/log2-pub.pem<br />
-      URL            : http://log2.example.com/<br />
-      Time range     : -INF to +INF<br />
+<highlight language="sh">
+$ ctlogconfig /path/to/conf/log-config configure-public-key \#2 /path/to/conf/log2-pub.pem
+$ ctlogconfig /path/to/conf/log-config dump
+Log entry:
+  Record 1
+  Log id         : (not configured)
+  Public key file: (not configured)
+  URL            : http://log1.example.com/
+  Time range     : -INF to +INF
+
+Log entry:
+  Record 2
+  Log id         : (not configured)
+  Public key file: /path/to/conf/log2-pub.pem
+  URL            : http://log2.example.com/
+  Time range     : -INF to +INF
+</highlight>
   </example>
 </section>
 
index dfd7b20761fbd171328b3938636a1fa0866e2d3a..cf5c66b5d6c6447fe00ccd1019c9b4bbf656e186 100644 (file)
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="examples" id="examples">Examples</a> <a title="Permanent link" href="#examples" class="permalink">&para;</a></h2>
-    <div class="example"><p><code>
-      httxt2dbm -i rewritemap.txt -o rewritemap.dbm<br />
-      httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm<br />
-    </code></p></div>
+    <div class="example"><pre class="prettyprint lang-sh">httxt2dbm -i rewritemap.txt -o rewritemap.dbm
+httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm</pre>
+</div>
 </div></div>
 <div class="bottomlang">
 <p><span>Available Languages: </span><a href="../en/programs/httxt2dbm.html" title="English">&nbsp;en&nbsp;</a> |
index 09750225831f5a8b8d1474c47dd101015cb93bd4..3e90bed3f652ca8b23f7855492da06c0e25e40bb 100644 (file)
 
 <section id="examples"><title>Examples</title>
     <example>
-      httxt2dbm -i rewritemap.txt -o rewritemap.dbm<br />
-      httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm<br />
+<highlight language="sh">
+httxt2dbm -i rewritemap.txt -o rewritemap.dbm
+httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm
+</highlight>
     </example>
 </section>