Quoting https://httpd.apache.org/docs/2.4/upgrading.html#run-time :
In this example, there is no authentication and all requests are allowed.
2.2 configuration:
Order allow,deny
Allow from all
2.4 configuration:
Require all granted
Therefore, the following is the upstream suggestion for this case:
--- a/etc/apache2/conf-available/localized-error-pages.conf 2024-09-29
18:51:28.000000000 +0000
+++ b/etc/apache2/conf-available/localized-error-pages.conf 2026-11-01
05:57:49.345473768 +0000
@@ -51,8 +51,7 @@
# Options IncludesNoExec
# AddOutputFilter Includes html
# AddHandler type-map var
-# Order allow,deny
-# Allow from all
+# Require all granted
# LanguagePriority en cs de es fr it nl sv pt-br
ro
# ForceLanguagePriority Prefer Fallback
# </Directory>