]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
docs: Clarify DPI flag wording re: PATH_INFO vs URL-path
authorRich Bowen <rbowen@apache.org>
Mon, 25 May 2026 17:21:11 +0000 (17:21 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 25 May 2026 17:21:11 +0000 (17:21 +0000)
The opening sentence of the DPI|discardpath section implied PATH_INFO
was a "portion of" the URL-path/URI, while the next sentence described
it as a separate value concatenated to the URL-path/URI. Reword to
make clear that PATH_INFO is appended, not an inherent component.

Also add glossary links for URL-path (trunk only).

bz#70052

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934603 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/flags.xml

index b4c0cecc35a3485e3c9b8ada424b49f71be995eb..f2b54a1a17b0bda6b087e955f0fe94f418efb247 100644 (file)
@@ -284,12 +284,14 @@ minutes (24 hours) and is returned for all URIs.</p>
 </section>
 
 <section id="flag_dpi"><title>DPI|discardpath</title>
-<p>The DPI flag causes the <glossary ref="pathinfo">PATH_INFO</glossary> portion of the rewritten URL-path to be
-discarded.</p>
-
-<p>In <glossary ref="perdirectory">per-directory context</glossary>,
-the URL-path each <directive>RewriteRule</directive> compares against
-is the concatenation of the current URL-path and PATH_INFO.</p>
+<p>The DPI flag causes the <glossary ref="pathinfo">PATH_INFO</glossary>
+that was appended to the rewritten
+<glossary ref="urlpath">URL-path</glossary> to be discarded.</p>
+
+<p>In <glossary ref="perdirectory">per-directory context</glossary>, the
+<glossary ref="urlpath">URL-path</glossary> each
+<directive>RewriteRule</directive> compares against is the concatenation
+of the current URL-path and PATH_INFO.</p>
 
 <p>The current URL-path can be the initial path as requested by the
 client, the result of a previous round of <module>mod_rewrite</module>