Bug#1072804: mod_autoindex: should default to XHTML and send the charset in the document

"Andrea Pappacoda" <[email protected]> Wed, 28 Jan 2026 18:42:16 +0100
Newsgroups gmane.linux.debian.devel.apache
Message-ID <DG0EOYPXK4UT.DWVC34DFN8XG__38904.0704512567$1769622219$gmane$org@debian.org>
X-Debbugs-Cc: [email protected]

Hi all,

On Sat, 08 Jun 2024 01:24:01 +0000 Thorsten Glaser <[email protected]> wrote:
> Package: apache2
> Version: 2.4.59-1~deb11u1
> Severity: wishlist
> Tags: upstream
> X-Debbugs-Cc: [email protected]
>=20
> The W3C validator is not quite happy with the default directory indic=C4=
=93s.
>=20
> Applying the following change to its config=E2=80=A6
>=20
> -       IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=3D* De=
scriptionWidth=3D* Charset=3DUTF-8
> +       IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=3D* De=
scriptionWidth=3D* Charset=3DUTF-8 XHTML

The upstream docs say that enabling the XHTML option when FancyIndexing=20
is enabled doesn't do anything. Are the docs wrong?

https://httpd.apache.org/docs/current/mod/mod_autoindex.html#indexoptions.x=
html

Bye!