docker-library / httpd

Docker Official Image packaging for Apache HTTP Server
https://httpd.apache.org
Apache License 2.0
310 stars 345 forks source link

I18n support in mod_proxy_html requires mod_xml2enc #256

Closed sebix closed 8 months ago

sebix commented 8 months ago

Using httpd:2.4.58-bookworm as reverse proxy gives this warning message in the error log:

[Mon Feb 26 16:08:35.768182 2024] [proxy_html:notice] [pid 1583:tid 140355496699776] AH01425: I18n support in mod_proxy_html requires mod_xml2enc. Without it, non-ASCII characters in proxied pages are likely to display incorrectly.

The Dockerfile already mentions this library: https://github.com/docker-library/httpd/blob/26548a4129140d99916084ff5babe42dcc7cb88a/2.4/Dockerfile#L34 But it seems, mod_xml2enc is not active or available.

LaurentGoderre commented 8 months ago

mod_xml2enc definitely are there

find . | grep 'mod_xml2enc'
./modules/mod_xml2enc.so
./include/mod_xml2enc.h
sebix commented 8 months ago

You are entirely right; this is wholly a user error. The module needs to be loaded, that's all.