]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
18 hours agoRebuild recent changes trunk trunk
Rich Bowen [Sat, 23 May 2026 15:35:32 +0000 (15:35 +0000)] 
Rebuild recent changes

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

18 hours agoUpdate link to platform-specific docs
Rich Bowen [Sat, 23 May 2026 15:34:34 +0000 (15:34 +0000)] 
Update link to platform-specific docs

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

38 hours agodocs: replace curly/smart quotes (U+2018/2019/201C/201D) with straight equivalents...
Rich Bowen [Fri, 22 May 2026 20:02:50 +0000 (20:02 +0000)] 
docs: replace curly/smart quotes (U+2018/2019/201C/201D) with straight equivalents across all translations

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

38 hours agofr: fix invalid entities in lang/fr.xml, broken href to new_features_2_0
Rich Bowen [Fri, 22 May 2026 20:01:47 +0000 (20:01 +0000)] 
fr: fix invalid entities in lang/fr.xml, broken href to new_features_2_0

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

38 hours agoFixes a number of (admittedly rather nit-picky) style and typographical
Rich Bowen [Fri, 22 May 2026 19:47:13 +0000 (19:47 +0000)] 
Fixes a number of (admittedly rather nit-picky) style and typographical
things in the mod_deflate docs.

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

38 hours agoYet another rebuild
Rich Bowen [Fri, 22 May 2026 19:42:04 +0000 (19:42 +0000)] 
Yet another rebuild

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

38 hours agoXML typo. Oops.
Rich Bowen [Fri, 22 May 2026 19:39:18 +0000 (19:39 +0000)] 
XML typo. Oops.

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

2 days agoClarifies what CGIVar does.
Rich Bowen [Fri, 22 May 2026 01:49:54 +0000 (01:49 +0000)] 
Clarifies what CGIVar does.

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

2 days agoLink to PCRE2 docs, rather than PCRE.
Rich Bowen [Thu, 21 May 2026 16:30:53 +0000 (16:30 +0000)] 
Link to PCRE2 docs, rather than PCRE.

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

2 days agoClarify the role of ! in regular expressions and backreferences
Rich Bowen [Thu, 21 May 2026 16:23:49 +0000 (16:23 +0000)] 
Clarify the role of ! in regular expressions and backreferences

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

2 days agoAdds test for missing header in h2 proxy.
Giannis Christodoulou [Thu, 21 May 2026 14:12:04 +0000 (14:12 +0000)] 
Adds test for missing header in h2 proxy.

covers the changes of r1927036 and r1927629.

Github: closes #620

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

2 days agoCI: Use the apache/httpd-tests github repos for the Perl framework.
Joe Orton [Thu, 21 May 2026 11:35:01 +0000 (11:35 +0000)] 
CI: Use the apache/httpd-tests github repos for the Perl framework.
(last dependency on use of svn in CI is removed)

Github: closes #651

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

3 days agogrammar/typo fix
Rich Bowen [Thu, 21 May 2026 01:17:05 +0000 (01:17 +0000)] 
grammar/typo fix

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

3 days agoRebuild
Rich Bowen [Thu, 21 May 2026 00:34:53 +0000 (00:34 +0000)] 
Rebuild

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

3 days agoNew pt-br translations
Rich Bowen [Thu, 21 May 2026 00:31:28 +0000 (00:31 +0000)] 
New pt-br translations

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

3 days agomod_auth_digest: document AuthDigestNcCheck. (bz #70058)
Rich Bowen [Wed, 20 May 2026 21:40:25 +0000 (21:40 +0000)] 
mod_auth_digest: document AuthDigestNcCheck. (bz #70058)

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

3 days agomod_proxy: document ProxyAsyncDelay and ProxyAsyncIdleTimeout (bz #70055, #70057)
Rich Bowen [Wed, 20 May 2026 21:28:58 +0000 (21:28 +0000)] 
mod_proxy: document ProxyAsyncDelay and ProxyAsyncIdleTimeout (bz #70055, #70057)

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

3 days agoTODO list complete.
Rich Bowen [Wed, 20 May 2026 21:10:05 +0000 (21:10 +0000)] 
TODO list complete.

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

3 days agorewrite: add ACME challenge exemption recipe alongside HTTPS redirect
Rich Bowen [Wed, 20 May 2026 21:07:10 +0000 (21:07 +0000)] 
rewrite: add ACME challenge exemption recipe alongside HTTPS redirect

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

3 days agoRemove todo items that are done'
Rich Bowen [Wed, 20 May 2026 20:55:37 +0000 (20:55 +0000)] 
Remove todo items that are done'

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

3 days agorewrite: warn that <If>/<Location>/<Directory> silently switch to per-directory context
Rich Bowen [Wed, 20 May 2026 20:52:26 +0000 (20:52 +0000)] 
rewrite: warn that <If>/<Location>/<Directory> silently switch to per-directory context

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

3 days agoClarify URL-path definition: mention optional port, exclude query string, fix capital...
Rich Bowen [Wed, 20 May 2026 20:37:58 +0000 (20:37 +0000)] 
Clarify URL-path definition: mention optional port, exclude query string, fix capitalization.

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

3 days agomod_rewrite: clarify that the substitution string (not 'path') can include a query...
Rich Bowen [Wed, 20 May 2026 20:31:32 +0000 (20:31 +0000)] 
mod_rewrite: clarify that the substitution string (not 'path') can include a query string

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

3 days agomod_dav: Document DavHonorMtimeHeader directive
Rich Bowen [Wed, 20 May 2026 20:02:21 +0000 (20:02 +0000)] 
mod_dav: Document DavHonorMtimeHeader directive

When enabled, allows WebDAV clients to set resource modification
times via the X-OC-Mtime request header on PUT and MKCOL requests.

Resolves: bz#70054

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

3 days agomod_allowhandlers: fix "headers" typo, should be "handlers".
Rich Bowen [Wed, 20 May 2026 16:27:17 +0000 (16:27 +0000)] 
mod_allowhandlers: fix "headers" typo, should be "handlers".

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

3 days agoNote the reported security bugs in the MS-WDV mod_dav code as a
Joe Orton [Wed, 20 May 2026 15:37:55 +0000 (15:37 +0000)] 
Note the reported security bugs in the MS-WDV mod_dav code as a
showstopper for this branch.

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

3 days agodocs: Remove stub for unimplemented AuthDigestNonceFormat.
Joe Orton [Wed, 20 May 2026 13:44:49 +0000 (13:44 +0000)] 
docs: Remove stub for unimplemented AuthDigestNonceFormat.

PR: 70056

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

3 days ago* modules/aaa/mod_auth_digest.c: Remove undocumented and unimplemented
Joe Orton [Wed, 20 May 2026 12:58:03 +0000 (12:58 +0000)] 
* modules/aaa/mod_auth_digest.c: Remove undocumented and unimplemented
  AuthDigestNonceFormat directive.

PR: 70056

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

4 days agoRebuild recent doc changes
Rich Bowen [Wed, 20 May 2026 00:12:36 +0000 (00:12 +0000)] 
Rebuild recent doc changes

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

4 days agoApparently the sup tag is not supported markup
Rich Bowen [Wed, 20 May 2026 00:05:59 +0000 (00:05 +0000)] 
Apparently the sup tag is not supported markup

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

4 days agomod_actions: fix "cgi script" capitalization
Rich Bowen [Tue, 19 May 2026 21:41:00 +0000 (21:41 +0000)] 
mod_actions: fix "cgi script" capitalization

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

4 days ago* SECURITY.md: Tweak wording on what the less-privileged user
Joe Orton [Tue, 19 May 2026 16:15:40 +0000 (16:15 +0000)] 
* SECURITY.md: Tweak wording on what the less-privileged user
  can/can't do, add ACME servers to the example list of trusted
  services.

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

4 days agomod_brotli: clarify that numeric directive values are powers of two
Rich Bowen [Tue, 19 May 2026 14:38:15 +0000 (14:38 +0000)] 
mod_brotli: clarify that numeric directive values are powers of two

BrotliCompressionWindow and BrotliCompressionMaxInputBlock accept
log2 values, but the docs just said "a value between N and M" without
explaining what those numbers mean in practice. Clarify that the
actual sizes are 2^value bytes, with concrete examples (e.g., 18 =
256 KB, 24 = 16 MB). Also improve BrotliCompressionQuality description
with practical guidance. Add examples to all three directives.

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

4 days agoMissing default value, and small typo fixes.
Rich Bowen [Tue, 19 May 2026 14:12:30 +0000 (14:12 +0000)] 
Missing default value, and small typo fixes.

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

5 days ago* SECURITY.md: Tweak wording on scope, expand section
Joe Orton [Mon, 18 May 2026 15:29:03 +0000 (15:29 +0000)] 
* SECURITY.md: Tweak wording on scope, expand section
  on trusted services.

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

6 days agorewrite docs: Expand prg: map section with fuller Python example, clarify flush requi...
Rich Bowen [Sun, 17 May 2026 22:45:38 +0000 (22:45 +0000)] 
rewrite docs: Expand prg: map section with fuller Python example, clarify flush requirement

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

6 days agorewrite docs: Note that mod_rewrite cannot inspect request body (POST data)
Rich Bowen [Sun, 17 May 2026 22:33:54 +0000 (22:33 +0000)] 
rewrite docs: Note that mod_rewrite cannot inspect request body (POST data)

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

6 days agorewrite docs: Add warning box for leading-slash patterns in .htaccess, add section...
Rich Bowen [Sun, 17 May 2026 22:30:48 +0000 (22:30 +0000)] 
rewrite docs: Add warning box for leading-slash patterns in .htaccess, add section on 301 browser caching

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

6 days agoSorry, that was confusing. R=4xx does *not* serve a redirect, and the
Rich Bowen [Sun, 17 May 2026 22:24:50 +0000 (22:24 +0000)] 
Sorry, that was confusing. R=4xx does *not* serve a redirect, and the
way I wrote that it sounded like the exact opposite. This attempts to
clarify.

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

6 days agorewrite docs: Add warning that [R=4xx] sends a bare error response, does not invoke...
Rich Bowen [Sun, 17 May 2026 22:21:36 +0000 (22:21 +0000)] 
rewrite docs: Add warning that [R=4xx] sends a bare error response, does not invoke ErrorDocument

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

6 days agofr doc XML files updates.
Lucien Gentis [Sun, 17 May 2026 15:42:18 +0000 (15:42 +0000)] 
fr doc XML files updates.

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

6 days agofr doc XML file update.
Lucien Gentis [Sun, 17 May 2026 14:43:11 +0000 (14:43 +0000)] 
fr doc XML file update.

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

6 days agoFix an http vs https link in bottom link to the LICENSE.
Christophe Jaillet [Sun, 17 May 2026 11:43:36 +0000 (11:43 +0000)] 
Fix an http vs https link in bottom link to the LICENSE.

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

6 days agoFix some http vs https links in upper left navigation links.
Christophe Jaillet [Sun, 17 May 2026 11:26:51 +0000 (11:26 +0000)] 
Fix some http vs https links in upper left navigation links.

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

7 days agofr doc XML files updates.
Lucien Gentis [Sat, 16 May 2026 16:10:27 +0000 (16:10 +0000)] 
fr doc XML files updates.

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

7 days agoBulk rebuild of all of the (Trunk) docs to pick up the mobile-friendly
Rich Bowen [Sat, 16 May 2026 14:27:11 +0000 (14:27 +0000)] 
Bulk rebuild of all of the (Trunk) docs to pick up the mobile-friendly
css updates.

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

7 days agoAdds mobile-friendly layouts and navigation to the httpd trunk docs.
Rich Bowen [Sat, 16 May 2026 14:22:34 +0000 (14:22 +0000)] 
Adds mobile-friendly layouts and navigation to the httpd trunk docs.

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

8 days agoflags.xml: Add example for UNC flag
Rich Bowen [Fri, 15 May 2026 20:54:41 +0000 (20:54 +0000)] 
flags.xml: Add example for UNC flag

Show a Windows UNC path rewrite using a variable in the substitution,
explaining that the flag prevents Apache from collapsing the leading
double slash. Note that the flag is Windows-only and unnecessary when
the substitution starts with literal double slashes.

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

8 days agoflags.xml: Add examples and security warnings for UnsafeAllow3F and UnsafePrefixStat
Rich Bowen [Fri, 15 May 2026 20:03:35 +0000 (20:03 +0000)] 
flags.xml: Add examples and security warnings for UnsafeAllow3F and UnsafePrefixStat

Both flags were introduced to address CVE-2024-38474 and CVE-2024-38475
respectively. Add practical examples showing common scenarios where each
flag is needed (PHP front controller for UnsafeAllow3F; backreference-
starting substitution for UnsafePrefixStat), along with warning notes
linking to the relevant CVEs and advising restraint in their use.

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

8 days agohowto/htaccess.xml: Note that AllowOverride defaults to None
Rich Bowen [Fri, 15 May 2026 19:40:03 +0000 (19:40 +0000)] 
howto/htaccess.xml: Note that AllowOverride defaults to None

Users frequently miss that .htaccess files are disabled by default
(AllowOverride None since 2.3.9). Add an explicit note after the
AllowOverride explanation so this is immediately visible.

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

8 days agoAdds newly built pt-br docs.
Rich Bowen [Fri, 15 May 2026 19:33:45 +0000 (19:33 +0000)] 
Adds newly built pt-br docs.

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

8 days agoAdd PATH_INFO glossary entry, link first mention in each doc
Rich Bowen [Fri, 15 May 2026 19:31:59 +0000 (19:31 +0000)] 
Add PATH_INFO glossary entry, link first mention in each doc

Define PATH_INFO in glossary.xml with an example
(/app/index.php/extra/path), reference to AcceptPathInfo directive,
and RFC 3875 section 4.1.5 citation.

Convert the first prose mention of PATH_INFO in 14 files to
<glossary ref="pathinfo"> links. Subsequent mentions within the same
document are left as <code> or plain text to avoid link spam.

Skipped mod_ext_filter.xml (only occurrence is inside the compound
variable name DOCUMENT_PATH_INFO) and mod_ssl.xml (inside a <pre>
block where markup links are inappropriate).

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

8 days agoflags.xml: Add example and security warning for UnsafeAllow3F
Rich Bowen [Fri, 15 May 2026 19:19:49 +0000 (19:19 +0000)] 
flags.xml: Add example and security warning for UnsafeAllow3F

Show the common real-world trigger: a PHP front controller with a
query string in the substitution (index.php?route=\$1) that breaks
when a request contains %3F. Add a warning note linking to
CVE-2024-38474, advising users to prefer URL restructuring over
enabling the flag where possible.

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

8 days agoBulk rebuild to remove the hanging Comments link.
Rich Bowen [Fri, 15 May 2026 19:03:18 +0000 (19:03 +0000)] 
Bulk rebuild to remove the hanging Comments link.

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

8 days agoRemove dead "Comments" link from See also sidebar
Rich Bowen [Fri, 15 May 2026 18:50:14 +0000 (18:50 +0000)] 
Remove dead "Comments" link from See also sidebar

The comments system was removed long ago, but the link to
#comments_section remained in the See also sidebar on every page.
The target anchor no longer exists (common.xsl already has
"<!-- Comments section used to be here -->"), making this a dead link.

Remove from manualpage.xsl, synopsis.xsl, and overrideindex.xsl.
The lang/*/messages "comments" strings are left in place (harmless,
and removing them would require touching all 11 language files).

Resolves bz#70046

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

8 days agoAdds seealso for the guide
Rich Bowen [Fri, 15 May 2026 18:46:42 +0000 (18:46 +0000)] 
Adds seealso for the guide

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

8 days agoRebuilds the recent doc changes
Rich Bowen [Fri, 15 May 2026 18:28:08 +0000 (18:28 +0000)] 
Rebuilds the recent doc changes

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

8 days agomod_rewrite.xml: Tighten summary section, reduce repetition
Rich Bowen [Fri, 15 May 2026 18:26:45 +0000 (18:26 +0000)] 
mod_rewrite.xml: Tighten summary section, reduce repetition

Merge paragraphs 2 and 3 of the module summary into a single paragraph
that flows naturally from the introduction without repeating the module
name at the start of each sentence.

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

8 days agoRebuild the most recent work on the rewrite guide
Rich Bowen [Fri, 15 May 2026 18:17:30 +0000 (18:17 +0000)] 
Rebuild the most recent work on the rewrite guide

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

8 days agoflags.xml: Add examples for [NS], [QSD], and [R] flags
Rich Bowen [Fri, 15 May 2026 18:10:54 +0000 (18:10 +0000)] 
flags.xml: Add examples for [NS], [QSD], and [R] flags

These commonly-used flags had explanatory text but no configuration
examples. Add minimal, practical illustrations for each:
- [NS]: front controller pattern excluding subrequests
- [QSD]: redirect discarding the original query string
- [R]: 301 redirect to an external URL with path preserved

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

8 days agorewrite/*.xml: Replace "URI" with "URL-path" or "URL" as appropriate
Rich Bowen [Fri, 15 May 2026 17:32:40 +0000 (17:32 +0000)] 
rewrite/*.xml: Replace "URI" with "URL-path" or "URL" as appropriate

While URI and URL are functionally interchangeable in web contexts
(RFC 3986 subsumes both; every HTTP URL is a URI), the term "URI" is
ambiguous about whether the scheme://host:port portion is included.
"URL-path" â€” as defined in our own directive-dict.xml â€” makes explicit
that only the path component is meant, which is what mod_rewrite
actually operates on.

Changes across avoid.xml, flags.xml, rewritemap.xml, and tech.xml:
- "URI" â†’ "URL-path" where the context is the path component only
  (what RewriteRule patterns match against)
- "URI" â†’ "URL" in the QSA/QSD/R sections where query strings are
  part of the discussion (URL-path excludes query strings by definition)
- Kept "URI" in two places: the literal error message "Invalid URI in
  request", and "URI translation" (an official httpd hook/phase name)

Resolves bz70043

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

8 days agoflags.xml: Clarify DPI flag docs, replace "URI" with "URL-path", add example
Rich Bowen [Fri, 15 May 2026 17:25:32 +0000 (17:25 +0000)] 
flags.xml: Clarify DPI flag docs, replace "URI" with "URL-path", add example

In RFC terms, URI and URL are functionally interchangeable on the web
(all HTTP URLs are URIs; RFC 3986 subsumes both). However, in this
context the docs mean specifically the path component â€” no scheme, no
host, no port. "URL-path" (as defined in our own directive-dict.xml)
makes this unambiguous, and is consistent with the rest of the
mod_rewrite documentation which uses "URL-path" throughout.

Also add a concrete example showing DPI preventing PATH_INFO
duplication when rewriting a request.

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

8 days agoAdds example for [C] flag
Rich Bowen [Fri, 15 May 2026 17:17:07 +0000 (17:17 +0000)] 
Adds example for [C] flag

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

8 days agoConsolidate "What is matched?" from mod_rewrite.xml into rewrite/intro.xml
Rich Bowen [Fri, 15 May 2026 16:42:03 +0000 (16:42 +0000)] 
Consolidate "What is matched?" from mod_rewrite.xml into rewrite/intro.xml

Replace the detailed "What is matched?" note block in mod_rewrite.xml
with a concise summary linking to rewrite/intro.html#rewriterule.

Expand the RewriteRule Basics section in rewrite/intro.xml to cover:
- Pattern matches %-decoded URL-path (server context)
- Pattern matches directory-relative path (per-directory context),
  with link to htaccess.html#path-stripping
- Pattern does NOT match hostname, port, or query string â€”
  use RewriteCond with %{HTTP_HOST}, %{SERVER_PORT}, %{QUERY_STRING}

Part of: https://bz.apache.org/bugzilla/show_bug.cgi?id=70045

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

8 days agoResolves bz#70044 (Credit Philippe Cloutier). Disambuguates the various
Rich Bowen [Fri, 15 May 2026 16:25:10 +0000 (16:25 +0000)] 
Resolves bz#70044 (Credit Philippe Cloutier). Disambuguates the various
portions of an HTTP Request.

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

8 days agoConsolidate per-directory rewrite notes: remove duplication between mod_rewrite.xml...
Rich Bowen [Fri, 15 May 2026 16:21:03 +0000 (16:21 +0000)] 
Consolidate per-directory rewrite notes: remove duplication between mod_rewrite.xml and rewrite/htaccess.xml

The large "Per-directory Rewrites" note block in mod_rewrite.xml
duplicated content already covered (and better explained) in
rewrite/htaccess.xml. Replace it with a short link to the guide.

Migrate the useful tips that were unique to that block into
rewrite/htaccess.xml:
- ^/ never matches in per-directory context (path-stripping section)
- Use %{REQUEST_URI} to match the full URL-path, with example
- <Location>/<Files> are unsupported contexts (new section)
- <If> follows directory context rules (new section)

Part of: https://bz.apache.org/bugzilla/show_bug.cgi?id=70045

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

8 days agofr doc XML file update.
Lucien Gentis [Fri, 15 May 2026 16:08:22 +0000 (16:08 +0000)] 
fr doc XML file update.

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

8 days agofr doc XML file update.
Lucien Gentis [Fri, 15 May 2026 16:04:04 +0000 (16:04 +0000)] 
fr doc XML file update.

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

8 days agoConsolidates advice about crafting regular expressions in one place,
Rich Bowen [Fri, 15 May 2026 15:23:39 +0000 (15:23 +0000)] 
Consolidates advice about crafting regular expressions in one place,
rather than having it duplicated in two docs. Gives example of using !
to negate a match, and notes that in the event of a not-match,
backreferences are not defined (because they didn't match) and points to
the backrefs section for further discussion.

Note that there's still probably a case to be made for a separate
regular expression reference, since neither `man perlre` nor Jeffrey's book
are likely to be in the possession of our audience.

(References patch on bz#70024 but takes it rather a different direction,
since that patch was not accurate.)

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

8 days agoCI: Disable Windows build, which is broken. [skip ci]
Joe Orton [Fri, 15 May 2026 14:21:13 +0000 (14:21 +0000)] 
CI: Disable Windows build, which is broken. [skip ci]

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

8 days agoReference 70043
Rich Bowen [Fri, 15 May 2026 12:48:19 +0000 (12:48 +0000)] 
Reference 70043

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

8 days agoJust updating my todo list. Nothing to see here.
Rich Bowen [Fri, 15 May 2026 12:47:45 +0000 (12:47 +0000)] 
Just updating my todo list. Nothing to see here.

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

8 days agoResolves #40178: Removes redundant sentence. (Thanks, Philippe)
Rich Bowen [Fri, 15 May 2026 12:39:28 +0000 (12:39 +0000)] 
Resolves #40178: Removes redundant sentence. (Thanks, Philippe)

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

8 days agoRemove mod_dav_lock, which was useful only to provide drop-in
Joe Orton [Fri, 15 May 2026 10:31:10 +0000 (10:31 +0000)] 
Remove mod_dav_lock, which was useful only to provide drop-in
locking for mod_dav_svn from Apache Subversion older than 1.2.0.
mod_dav_svn from 1.2.0 onwards provides a locking mechanism.

Remove mod_dav_lock from cmake and Windows build system:
* CMakeLists.txt: Remove mod_dav_lock from MODULE_LIST,
  mod_dav_lock_extra_sources and mod_dav_lock_extra_libs.
* Apache.dsw, Apache-apr2.dsw: Remove mod_dav_lock project
  and dependency entries.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Github: closes #646

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

8 days agoAdd initial draft of a security model.
Joe Orton [Fri, 15 May 2026 10:26:37 +0000 (10:26 +0000)] 
Add initial draft of a security model.

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

9 days agomod_ssl: Set auth type to \"ClientCert\" after authentication
Joe Orton [Fri, 15 May 2026 06:57:49 +0000 (06:57 +0000)] 
mod_ssl: Set auth type to \"ClientCert\" after authentication

When client certificate authentication has been performed r->ap_auth_type was
never populated and env AUTH_TYPE was empty.
We now set auth type to \"ClientCert\".

PR: 45058
Submitted by: Michael Osipov <michaelo@apache.org>
Github: closes #645

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

9 days agoCI: Add *.md to the ignore list. (the "**" syntax is correct
Joe Orton [Fri, 15 May 2026 06:56:04 +0000 (06:56 +0000)] 
CI: Add *.md to the ignore list. (the "**" syntax is correct
here, per https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#filter-pattern-cheat-sheet)

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

9 days agocorrect plural
Rich Bowen [Thu, 14 May 2026 20:47:03 +0000 (20:47 +0000)] 
correct plural

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

9 days agorewrite guide: document REDIRECT_ prefix for [E=] environment variables
Rich Bowen [Thu, 14 May 2026 20:30:43 +0000 (20:30 +0000)] 
rewrite guide: document REDIRECT_ prefix for [E=] environment variables

flags.xml: expand the [E] flag section with a note box explaining
that per-directory rewrites rename env vars with a REDIRECT_ prefix
after internal redirect, with an example showing how to reference the
renamed variable and a note about prefix stacking.

env.xml: add cross-reference from the REDIRECT_ variables section
back to rewrite/flags.html#flag_e for mod_rewrite-specific details.

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

9 days agorewrite guide: document URL encoding/decoding pipeline
Rich Bowen [Thu, 14 May 2026 20:12:01 +0000 (20:12 +0000)] 
rewrite guide: document URL encoding/decoding pipeline

tech.xml: new "URL Encoding and Decoding" section explaining that
httpd unescapes the URI before pattern matching, how to use
%{THE_REQUEST} for the raw form, AllowEncodedSlashes options, and
a summary of the [B]/[BNP]/[NE] flags with links to flags.xml.

flags.xml: add cross-references to tech.html#encoding from the [B],
[BNP], and [NE] flag sections. Restore section headers for flag_bnp
and flag_bctls that were inadvertently dropped.

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

9 days agorewrite guide: document %{HTTPS} behavior behind load balancers
Rich Bowen [Thu, 14 May 2026 19:35:53 +0000 (19:35 +0000)] 
rewrite guide: document %{HTTPS} behavior behind load balancers

Add note to the "Forcing HTTPS" recipe in remapping.xml explaining
that %{HTTPS} queries mod_ssl directly and reports "off" when SSL is
terminated upstream. Provides the X-Forwarded-Proto alternative with
a security warning about trusting forwarded headers.

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

9 days agorewrite guide: remove deprecated stub pages (access, advanced, proxy)
Rich Bowen [Thu, 14 May 2026 19:24:08 +0000 (19:24 +0000)] 
rewrite guide: remove deprecated stub pages (access, advanced, proxy)

These pages were replaced by reorganized content in avoid.xml,
remapping.xml, rewritemap.xml, and flags.xml during the redundancy
cleanup. Each stub contained only a deprecation notice with pointers
to the new locations, and no other page in the guide links to them.

Removes 54 files (English sources, translations, built HTML, meta).

We will *not* be deleting these in 2.4 but some day when 2.6 branches,
they'll get dropped. The versions in 2.4 are already marked as
deprecated, with a "will go away in the future" message, so by that
time, this should take care of itself.

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

9 days agorewrite guide: document mod_rewrite vs mod_alias processing order
Rich Bowen [Thu, 14 May 2026 19:17:27 +0000 (19:17 +0000)] 
rewrite guide: document mod_rewrite vs mod_alias processing order

tech.xml: new "Module Processing Order" section explaining that
mod_rewrite runs before mod_alias in server/vhost context (hook
priority, not config order), and that per-directory context reverses
this. Includes a concrete example and practical guidance.

avoid.xml: add cross-reference note to the "Simple Redirection"
section warning about the order inconsistency.

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

9 days agofr doc XML files updates.
Lucien Gentis [Thu, 14 May 2026 15:53:32 +0000 (15:53 +0000)] 
fr doc XML files updates.

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

9 days agopt-br translation: new_features_2_4 and minor fixes, contributed by Leonardo Lara...
Rich Bowen [Thu, 14 May 2026 13:58:14 +0000 (13:58 +0000)] 
pt-br translation: new_features_2_4 and minor fixes, contributed by Leonardo Lara Rodrigues

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

10 days agopt-br translation: new files and updated htaccess, contributed by Leonardo Lara Rodrigues
Rich Bowen [Wed, 13 May 2026 19:37:51 +0000 (19:37 +0000)] 
pt-br translation: new files and updated htaccess, contributed by Leonardo Lara Rodrigues

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

10 days agofr doc rebuild.
Lucien Gentis [Wed, 13 May 2026 15:44:52 +0000 (15:44 +0000)] 
fr doc rebuild.

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

10 days agofr doc XML files updates.
Lucien Gentis [Wed, 13 May 2026 15:36:58 +0000 (15:36 +0000)] 
fr doc XML files updates.

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

10 days agorebuild
Rich Bowen [Wed, 13 May 2026 12:15:37 +0000 (12:15 +0000)] 
rebuild

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

10 days agoReverts r1933768 and fixes bz64511 which I erroneously patched a few
Rich Bowen [Wed, 13 May 2026 12:11:18 +0000 (12:11 +0000)] 
Reverts r1933768 and fixes bz64511 which I erroneously patched a few
weeks ago.

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

11 days agofr doc XML files updates.
Lucien Gentis [Tue, 12 May 2026 15:47:05 +0000 (15:47 +0000)] 
fr doc XML files updates.

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

11 days agoTweaks the language around LogLevel - it's not "new" any more.
Rich Bowen [Tue, 12 May 2026 11:58:17 +0000 (11:58 +0000)] 
Tweaks the language around LogLevel - it's not "new" any more.

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

12 days agoRebuild all of the mod_rewrite guide reorg
Rich Bowen [Mon, 11 May 2026 20:10:54 +0000 (20:10 +0000)] 
Rebuild all of the mod_rewrite guide reorg

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

12 days agoRewrite guide: harmonize seealso blocks across all files
Rich Bowen [Mon, 11 May 2026 19:50:14 +0000 (19:50 +0000)] 
Rewrite guide: harmonize seealso blocks across all files

Every document in the rewrite guide now cross-references all sibling
documents (htaccess, flags, tech, intro, remapping, rewritemap, vhosts,
avoid) consistently. Removed commented-out self-references.

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

12 days agonew pt-br docs
Rich Bowen [Mon, 11 May 2026 19:31:31 +0000 (19:31 +0000)] 
new pt-br docs

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

12 days agoRewrite guide: deduplicate HTTPS redirect recipe
Rich Bowen [Mon, 11 May 2026 19:31:10 +0000 (19:31 +0000)] 
Rewrite guide: deduplicate HTTPS redirect recipe

avoid.xml had a full VirtualHost example for HTTP-to-HTTPS that was
identical to remapping.xml's version. Replace with a brief paragraph
and cross-reference to remapping.html#https-redirect, which covers
both the Redirect and .htaccess mod_rewrite approaches.

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

12 days agoAI-Assisted survey of the last 20 years of users@ identified a number of
Rich Bowen [Mon, 11 May 2026 17:29:33 +0000 (17:29 +0000)] 
AI-Assisted survey of the last 20 years of users@ identified a number of
questions that we *could* answer in this Rewrite Guide, but are not yet
doing so. This is more recipe-based, Q&A stuff, and none of it is
terribly high priority, but gives an opportunity to give high-quality
answers to common questions and combat some misinformation.

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

12 days agoRewrite guide: merge www-resolve into canonicalhost section
Rich Bowen [Mon, 11 May 2026 17:18:52 +0000 (17:18 +0000)] 
Rewrite guide: merge www-resolve into canonicalhost section

The two sections covered the same hostname canonicalization concept
from slightly different angles. Merge the "Remove www" recipe and
SEO rationale into the existing canonicalhost section and remove
the standalone www-resolve section.

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

12 days agoRewrite guide: merge duplicate SSRF warning in flags.xml [P] section
Rich Bowen [Mon, 11 May 2026 17:12:49 +0000 (17:12 +0000)] 
Rewrite guide: merge duplicate SSRF warning in flags.xml [P] section

The [P] flag section had two nearly identical security warnings.
Merge into a single comprehensive warning that names the SSRF
vulnerability explicitly and includes the mitigation advice from
both.

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

12 days agoRebuild the initial Rewrite Guide reshuffle work.
Rich Bowen [Mon, 11 May 2026 16:49:54 +0000 (16:49 +0000)] 
Rebuild the initial Rewrite Guide reshuffle work.

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