Commit Graph

33797 Commits

Author SHA1 Message Date
ae90e17a92 Add missing changes-entries.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915785 13f79535-47bb-0310-9956-ffa450edef68
2024-02-14 13:36:58 +00:00
e48a0ef7e2 fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915714 13f79535-47bb-0310-9956-ffa450edef68
2024-02-10 14:32:03 +00:00
1bd6d25c93 fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915713 13f79535-47bb-0310-9956-ffa450edef68
2024-02-10 14:30:57 +00:00
834583e16f docs: mod_dav: Remove references to DavLockDB being required
since it's not true for trunk mod_dav_fs; refresh seealso.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915685 13f79535-47bb-0310-9956-ffa450edef68
2024-02-09 10:06:38 +00:00
620b424930 Update SSLProxyMachineCertificateFile compat note after r1915679.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915680 13f79535-47bb-0310-9956-ffa450edef68
2024-02-09 09:13:50 +00:00
669a1e656b mod_dav: Update redirect-carefully example BrowserMatch config to
match more recent client versions.

PR: 66148, 67039
Submitted by: Michal Maloszewski <michal.maloszewski canonical.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915651 13f79535-47bb-0310-9956-ffa450edef68
2024-02-08 14:37:13 +00:00
a046be0dac * modules/filters/mod_xml2enc.c (xml2enc_ffunc): Accept any XML media
type per RFC 7303, plus any text/ type.

PR: 64339
Github: closes #409


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915625 13f79535-47bb-0310-9956-ffa450edef68
2024-02-07 15:26:27 +00:00
bca805ed9f fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915567 13f79535-47bb-0310-9956-ffa450edef68
2024-02-03 15:40:32 +00:00
c5f3e16b34 fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915566 13f79535-47bb-0310-9956-ffa450edef68
2024-02-03 15:38:18 +00:00
2547b8c587 fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915565 13f79535-47bb-0310-9956-ffa450edef68
2024-02-03 15:35:20 +00:00
75847cd705 Misplaced example title.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915564 13f79535-47bb-0310-9956-ffa450edef68
2024-02-03 15:32:20 +00:00
e8da666beb * server/util_expr_parse.c (yyparse): Fix typo in comment.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915543 13f79535-47bb-0310-9956-ffa450edef68
2024-02-02 14:49:06 +00:00
502eca5b0f mod_dav: Add a title to the example config snippet for DavBasePath.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915532 13f79535-47bb-0310-9956-ffa450edef68
2024-02-02 11:16:28 +00:00
c97f3faf52 mod_http2 docs: Typo fix
Submitted by: Justin Vreeland <j_vreeland apple.com>
Github: closes #407


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915531 13f79535-47bb-0310-9956-ffa450edef68
2024-02-02 11:12:11 +00:00
93298767a1 Add MPEG-TS file extensions
Submitted by: Mohamed Akram <mohd.akram outlook.com>
Github: closes #372


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915514 13f79535-47bb-0310-9956-ffa450edef68
2024-02-01 15:36:20 +00:00
c76ebdba43 Minor CI changes:
- Add --enable-reduced-exports test.
- test running apachectl -V in the TEST_INSTALL case
- test running httpd -V in the SKIP_TESTING case
- rejig to exit if SKIP_TESTING, un-nest the if block around testing
  (no functional change from this part)

Github: closes #405


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915513 13f79535-47bb-0310-9956-ffa450edef68
2024-02-01 15:34:22 +00:00
aa1476072e * support/htcacheclean.c (list_urls): Continue rather than stopping
after listing a file for each subdirectory.

PR: 65091
Submitted by: Artem Egorenkov <aegorenkov.91 gmail.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915508 13f79535-47bb-0310-9956-ffa450edef68
2024-02-01 08:39:48 +00:00
874b8354d7 Rebuilds a number of pending doc changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915460 13f79535-47bb-0310-9956-ffa450edef68
2024-01-29 18:06:15 +00:00
f854ae2c70 Remove redundant slash from example - mod_proxy doc
Submitted by: nisbet-hubbard <87453615+nisbet-hubbard@users.noreply.github.com>

Github: closes #378


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915459 13f79535-47bb-0310-9956-ffa450edef68
2024-01-29 17:44:31 +00:00
6f96e9e720 Clarifies advice around quoting regular expressions.
Submitted by: nisbet-hubbard <87453615+nisbet-hubbard@users.noreply.github.com>

Github: closes #379


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915443 13f79535-47bb-0310-9956-ffa450edef68
2024-01-29 14:24:31 +00:00
24a4833d49 fill in empty descriptions from command_rec
[skip ci]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915423 13f79535-47bb-0310-9956-ffa450edef68
2024-01-27 14:24:48 +00:00
d7ac4bdcfb Add missing mod_proxy_hchech
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915414 13f79535-47bb-0310-9956-ffa450edef68
2024-01-26 16:26:53 +00:00
309770904d ab needs an additional Ws2_32.lib (like abs)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915413 13f79535-47bb-0310-9956-ffa450edef68
2024-01-26 16:15:18 +00:00
5d32253f11 undo previous commit.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915412 13f79535-47bb-0310-9956-ffa450edef68
2024-01-26 16:11:49 +00:00
640df67989 ab needs an additional Ws2_32.lib (like abs)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915411 13f79535-47bb-0310-9956-ffa450edef68
2024-01-26 14:25:15 +00:00
88afb529ab Use ap_os_is_path_absolute() to make it portable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915400 13f79535-47bb-0310-9956-ffa450edef68
2024-01-25 14:36:45 +00:00
e5b800e1be * Create README.md as symlink to README for better Github rendering [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915391 13f79535-47bb-0310-9956-ffa450edef68
2024-01-25 07:09:28 +00:00
1c2e67676d Converts README to markdown (no textual changes) for better display on
Github.

Submitted by: Mayank Patil (Mayank-2545@users.noreply.github.com)

Patch modified to preserve original linebreaks.

Github: closes #363


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915387 13f79535-47bb-0310-9956-ffa450edef68
2024-01-24 21:33:30 +00:00
8268915c90 Updated typo NWGNUmakefile
dependencies was spelled dependancies.

Submitted by: StevenSedwick <133059415+StevenSedwick@users.noreply.github.com>

Github: closes #382


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915380 13f79535-47bb-0310-9956-ffa450edef68
2024-01-24 14:44:49 +00:00
bc0e56cdd3 *) mod_http2: v2.0.26 with the following fixes:
- Fixed `Date` header on requests upgraded from HTTP/1.1 (h2c). Fixes
       <https://github.com/icing/mod_h2/issues/272>.
     - Fixed small memory leak in h2 header bucket free. Thanks to
       Michael Kaufmann for finding this and providing the fix.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915281 13f79535-47bb-0310-9956-ffa450edef68
2024-01-17 08:38:02 +00:00
64ecf00d7c mod_headers: Avoid infinite recursion with the edit* action and empty matches.
Change the recursion used for edit* to a loop using the new ap_regexec_ex()
function taking the current position (offset) in the subject string.

After an empty match do the same thing as pcre2_substitute() (or Perl's /g),
that is: don't allow for another empty match at the same positition by setting
the AP_REG_NOTEMPTY_ATSTART option. If there is a non-empty match use it,
otherwise skip/consume the first character and continue from there.

* modules/metadata/mod_headers.c:
  Rename the hdr_edit_r enum for edit* to hdr_edit_all to better express what
  is does (and since the action is not recursive anymore).

* modules/metadata/mod_headers.c(push_string, push_match):
  New helpers to consume the subject and substitutions in an array of iovec.

* modules/metadata/mod_headers.c(process_regexp):
  Implement the new logic, using push_match() and push_string() to fill the
  iovec array finally passed to apr_strcatv() for the resulting string.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915271 13f79535-47bb-0310-9956-ffa450edef68
2024-01-16 17:40:36 +00:00
33edc793fe Trigger ci.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915270 13f79535-47bb-0310-9956-ffa450edef68
2024-01-16 17:10:31 +00:00
97a1873332 regex: Add AP_REG_NOTEMPTY_ATSTART maching option.
* include/ap_mmn.h:
  Bump MMN minor.

* include/ap_regex.h:
  Define AP_REG_NOTEMPTY_ATSTART bit.

* server/util_pcre.c(ap_regexec_ex):
  Map AP_REG_NOTEMPTY_ATSTART to native PCRE_NOTEMPTY_ATSTART.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915268 13f79535-47bb-0310-9956-ffa450edef68
2024-01-16 16:56:58 +00:00
e52a206008 regex: Add ap_regexec_ex() which can take a starting offset to match from.
* include/ap_mmn.h:
  Bump MMN minor.

* include/ap_regex.h:
  Declare ap_regexec_ex().

* server/util_pcre.c(ap_regexec, ap_regexec_len, ap_regexec_ex):
  Reuse existing ap_regexec_len() code to implement ap_regexec_ex() where the
  offset is given instead of zero, then implement ap_regexec{,len}() in terms
  of ap_regexec_ex().



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915267 13f79535-47bb-0310-9956-ffa450edef68
2024-01-16 16:51:03 +00:00
c9028584a8 Fix a typo (missing "t")
s/redisribution/redistribution/

PR 67018 [<hanskrentel yahoo.de>]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914884 13f79535-47bb-0310-9956-ffa450edef68
2023-12-23 10:30:04 +00:00
cb5558ecad Fix the authorization types that support expressions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914881 13f79535-47bb-0310-9956-ffa450edef68
2023-12-23 09:42:02 +00:00
99e5f70b02 fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914825 13f79535-47bb-0310-9956-ffa450edef68
2023-12-21 15:19:11 +00:00
b5b2ca3f3e * modules/http/chunk_filter.c (ap_http_chunk_filter): For a brigade
containing [FLUSH EOS], insert the last-chunk terminator before the
  FLUSH rather than between the FLUSH and the EOS.

Github: closes #400


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914804 13f79535-47bb-0310-9956-ffa450edef68
2023-12-20 15:56:15 +00:00
4889f667f8 mod_deflate: remove filter after seeing EOS
Submitted by: Eric Norris <enorris etsy.com>
Github: closes #387


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914800 13f79535-47bb-0310-9956-ffa450edef68
2023-12-20 13:07:40 +00:00
f5bf0869c7 * modules/ssl/ssl_engine_pphrase.c (modssl_load_engine_keypair): Fix
build (hopefully) for OpenSSL 3.x with OPENSSL_NO_ENGINE defined.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914622 13f79535-47bb-0310-9956-ffa450edef68
2023-12-13 09:44:19 +00:00
d3a970420f fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914493 13f79535-47bb-0310-9956-ffa450edef68
2023-12-09 16:21:24 +00:00
2412f20b17 fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914492 13f79535-47bb-0310-9956-ffa450edef68
2023-12-09 16:20:06 +00:00
8f51ac7b1b missing </p> tag.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914491 13f79535-47bb-0310-9956-ffa450edef68
2023-12-09 16:18:07 +00:00
e23acb7701 * modules/dav/fs/mod_dav_fs.c (dav_fs_post_config): Make safe for
2.4.x without ap_state_dir_relative.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914457 13f79535-47bb-0310-9956-ffa450edef68
2023-12-08 11:43:23 +00:00
6a8b057e02 * modules/dav/main/util.c (dav_validate_resource_state): Fix error
message formatting if an unauthenticated user tries to use an
  authenticated user's lock token (cosmetic fix only).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914439 13f79535-47bb-0310-9956-ffa450edef68
2023-12-07 18:29:15 +00:00
455147a360 mod_dav_fs: Add global mutex around use of lockdb use, since
apr_dbm does not provide thread-safe locking:

* modules/dav/fs/mod_dav_fs.c (dav_fs_get_server_conf):
  Replaces dav_get_lockdb_path.
  (dav_fs_pre_config, dav_fs_child_init): New hooks.
  (dav_fs_post_config): Create & store the mutex here.
  (register_hooks): Register new hooks.

* modules/dav/fs/repos.h: Expose new dav_fs_server_conf struct.

* modules/dav/fs/lock.c (dav_fs_lockdb_cleanup): New cleanup
  which unlocks and closes the dbm handle.
  (dav_fs_really_open_lockdb): Lock the mutex here, register a
  cleanup.
  (dav_fs_open_lockdb): Adjust to use dav_fs_get_server_conf.
  (dav_fs_close_lockdb): Run the cleanup here.

Github: closes #395


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914438 13f79535-47bb-0310-9956-ffa450edef68
2023-12-07 18:25:35 +00:00
bd3bc70730 docs: Follow up to r1914382: Propose to build from sources too.
And provide our link to them.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914384 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 12:45:26 +00:00
ae17ae82ca docs: update/fix download link for awk.exe on Windows.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914382 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 12:27:13 +00:00
d6954a869a mod_auth_bearer: Fix warning about signed bitfields. BZ 68294
clang reports: implicit truncation from 'int' to a one-bit wide bit-field
               changes value from 1 to -1

Change authoritative_set and proxy_set bitfields to unsigned.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914367 13f79535-47bb-0310-9956-ffa450edef68
2023-12-05 17:45:24 +00:00
cc796e269d mod_ssl: Add support for loading keys from OpenSSL 3.x providers via
the STORE API. Separates compile-time support for the STORE API
(supported in 3.x) from support for the ENGINE API (deprecated in
3.x).

* modules/ssl/ssl_private.h: Define MODSSL_HAVE_OPENSSL_STORE for
  OpenSSL 3.0+.

* modules/ssl/ssl_engine_pphrase.c (modssl_load_store_uri,
  modssl_load_keypair_store): New functions.
  (modssl_load_keypair_engine): Renamed from modssl_load_keypair_engine.
  (modssl_load_engine_keypair): Reimplement to use new STORE-based
  functions if SSLCryptoDevice was not configured, or else old
  ENGINE implementation.

* modules/ssl/ssl_util.c (modssl_is_engine_id): Match pkcs11: URIs
  also for the OpenSSL 3.x STORE API.

* modules/ssl/ssl_engine_init.c (ssl_init_server_certs): Tweak log
  message on error paths for the provider/STORE case.

Signed-off-by: Ingo Franzki <ifranzki linux.ibm.com>
Submitted by: Ingo Franzki <ifranzki linux.ibm.com>
Github: closes #397, closes #398


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914365 13f79535-47bb-0310-9956-ffa450edef68
2023-12-05 15:26:22 +00:00