]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
docs: Add anchor attr to <rfc> tag, convert remaining RFC fragment links, fix http...
authorRich Bowen <rbowen@apache.org>
Tue, 5 May 2026 17:19:37 +0000 (17:19 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 5 May 2026 17:19:37 +0000 (17:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933854 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/misc/relevant_standards.xml
docs/manual/mod/core.xml
docs/manual/mod/mod_mime_magic.xml
docs/manual/mod/mod_proxy.xml
docs/manual/new_features_2_6.xml
docs/manual/style/common.dtd
docs/manual/style/xsl/common.xsl

index 05d1bc9e1851d563141c15b616a9b53666862ba5..3cfd3afe1197575748d8d3a1d9bba26c0c895b78 100644 (file)
@@ -38,8 +38,8 @@
         https://www.skrb.org/ietf/http_errata.html</a> - HTTP/1.1 Specification Errata
       </li>
       <li>
-        <a href="http://www.rfc-editor.org/errata.php">
-        http://www.rfc-editor.org/errata.php</a> - RFC Errata
+        <a href="https://www.rfc-editor.org/errata.php">
+        https://www.rfc-editor.org/errata.php</a> - RFC Errata
       </li>
       <li>
         <a href="https://httpwg.org/specs/">
       in English) in alphabetical order as given in ISO 3166-1 and the
       corresponding ISO 3166-1-alpha-2 code elements.</dd>
 
-      <dt><a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP 47</a>
+      <dt><a href="https://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP 47</a>
       (Best Current Practice),
       <rfc>3066</rfc></dt>
 
index 555f009e810143b173788fa1158c39b8ef01c6d7..ed22cf463f7c40b22e8154797f0df39a4076947b 100644 (file)
@@ -1389,9 +1389,8 @@ EnableSendfile On
       <p><rfc section="19.6">2616</rfc> "Compatibility With Previous Versions" had
       encouraged HTTP servers to support legacy HTTP/0.9 requests. RFC 7230
       supersedes this with "The expectation to support HTTP/0.9 requests has
-      been removed" and offers additional comments in 
-      <a href="https://www.rfc-editor.org/rfc/rfc7230#appendix-A"
-        >RFC 7230 Appendix A</a>. The <code>Require1.0</code> option allows
+      been removed" and offers additional comments in
+      <rfc anchor="appendix-A">7230</rfc> Appendix A. The <code>Require1.0</code> option allows
       the user to remove support of the default <code>Allow0.9</code> option's
       behavior.</p>
 
index 0fa9b47f3e3b102065dc2edac0188e26578c7b84..311096d0fd64768f07c94d02468c17887f68f254 100644 (file)
@@ -294,7 +294,7 @@ using the specified magic file</description>
     <li><strong>Not RFC-compliant:</strong> Standards documents consistently
     recommend against setting Content-Encoding for files that are already
     compressed (such as .zip or .gz files). See
-    <a href="https://www.rfc-editor.org/rfc/rfc9110#name-content-encoding">RFC 9110</a>.</li>
+    <rfc anchor="name-content-encoding">9110</rfc>.</li>
 
     <li><strong>Breaks content integrity:</strong> When Content-Encoding is set,
     most HTTP clients will decompress the file before writing it to disk. This
index 3d711b374d9ee01508d258f5e9639f3adfcf5202..1f51a2c8949f54a1bed0a396a0354915a9b2742d 100644 (file)
@@ -1320,7 +1320,7 @@ ProxyPass "/example" "http://backend.example.com" max=20 ttl=120 retry=300
         <td><p>Protocol accepted by <module>mod_proxy_http</module> or
         <module>mod_proxy_wstunnel</module> for the HTTP Upgrade mechanism
         upon negotiation by the HTTP client/browser (per
-        <a href="https://www.rfc-editor.org/rfc/rfc9110#name-upgrade">RFC 9110 - Upgrade</a>).
+        <rfc anchor="name-upgrade">9110</rfc> - Upgrade).
         See the <a href="#protoupgrade">Protocol Upgrade</a> note below</p>
     </td></tr>
     <tr><td>mapping</td>
index 55ac27636536dab484dbc67fb9f8fb3a8b523c9a..d11c6251bc66284b21fde7706dac3def0f5753d2 100644 (file)
@@ -38,9 +38,8 @@
       <dd>The <code>ContentDigest</code> directive and support for the the
           <code>Content-MD5</code> header has been removed from the server,
           corresponding with the removal of this header from
-          <a href="https://www.rfc-editor.org/rfc/rfc7231#appendix-B">
-          RFC7231 Hypertext Transfer Protocol (HTTP/1.1): Semantics and
-          Content.</a></dd>
+          <rfc anchor="appendix-B">7231</rfc> Hypertext Transfer Protocol
+          (HTTP/1.1): Semantics and Content.</dd>
 
       <dt><code>Listen</code> directive options</dt>
       <dd>The <directive module="mpm_common">Listen</directive>
index 08ead9d3c083abbe3622f77b5bbccf70a038610d..67128a349d98535efac676dffb4e55d6c4a55050 100644 (file)
@@ -203,7 +203,9 @@ highlight | blockquote">
 
 <!-- The rfc element creates a link to an RFC at www.rfc-editor.org.
      Content is the RFC number (e.g. 7230). Optional section attribute
-     adds a fragment anchor (e.g. section="14.24"). -->
+     adds a fragment anchor (e.g. section="14.24"). Optional anchor attribute
+     adds a raw fragment (e.g. anchor="appendix-B", anchor="name-upgrade"). -->
 <!ELEMENT rfc (#PCDATA)>
-<!ATTLIST rfc section CDATA #IMPLIED>
+<!ATTLIST rfc section CDATA #IMPLIED
+              anchor  CDATA #IMPLIED>
 
index 513846a311edf9310e929663c8b6dfaf48a41553..8cf6122d08fca0be27e7afdc6d0779dfe23e5c9e 100644 (file)
@@ -1242,6 +1242,10 @@ if (typeof(prettyPrint) !== 'undefined') {
       <xsl:text>#section-</xsl:text>
       <xsl:value-of select="@section"/>
     </xsl:if>
+    <xsl:if test="@anchor">
+      <xsl:text>#</xsl:text>
+      <xsl:value-of select="@anchor"/>
+    </xsl:if>
   </xsl:variable>
 
   <a href="{$rfcurl}">RFC <xsl:value-of select="$rfcnum"/></a>