From: Rich Bowen Date: Tue, 14 Apr 2026 17:54:05 +0000 (+0000) Subject: Use syntax highlight example style. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=47896abdf13c98ffca2cdc919ae06d8740c94799;p=thirdparty%2Fapache%2Fhttpd.git Use syntax highlight example style. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933054 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/programs/ctlogconfig.html.en.utf8 b/docs/manual/programs/ctlogconfig.html.en.utf8 index 01e1a43cdc..9481bf8a0f 100644 --- a/docs/manual/programs/ctlogconfig.html.en.utf8 +++ b/docs/manual/programs/ctlogconfig.html.en.utf8 @@ -163,46 +163,44 @@

First we'll configure the URLs for logs where server certificates are logged:

-

- $ 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
-

+
$ 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
+

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.

-

- $ 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
-

+
$ 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
+

Available Languages:  en  | diff --git a/docs/manual/programs/ctlogconfig.xml b/docs/manual/programs/ctlogconfig.xml index 87fd253690..a2bc55b41c 100644 --- a/docs/manual/programs/ctlogconfig.xml +++ b/docs/manual/programs/ctlogconfig.xml @@ -159,22 +159,24 @@

First we'll configure the URLs for logs where server certificates are logged:

- $ 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
+ +$ 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 +

Next we'll set the public key of a log where the certificate of our only @@ -182,21 +184,23 @@ http://log2.example.com/ which has already been configured.

- $ 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
+ +$ 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 +
diff --git a/docs/manual/programs/httxt2dbm.html.en.utf8 b/docs/manual/programs/httxt2dbm.html.en.utf8 index dfd7b20761..cf5c66b5d6 100644 --- a/docs/manual/programs/httxt2dbm.html.en.utf8 +++ b/docs/manual/programs/httxt2dbm.html.en.utf8 @@ -78,10 +78,9 @@
top

Examples

-

- httxt2dbm -i rewritemap.txt -o rewritemap.dbm
- httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm
-

+
httxt2dbm -i rewritemap.txt -o rewritemap.dbm
+httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm
+

Available Languages:  en  | diff --git a/docs/manual/programs/httxt2dbm.xml b/docs/manual/programs/httxt2dbm.xml index 0975022583..3e90bed3f6 100644 --- a/docs/manual/programs/httxt2dbm.xml +++ b/docs/manual/programs/httxt2dbm.xml @@ -74,8 +74,10 @@

Examples - httxt2dbm -i rewritemap.txt -o rewritemap.dbm
- httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm
+ +httxt2dbm -i rewritemap.txt -o rewritemap.dbm +httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm +