Bug#511878: apache2-mpm-prefork: The httpd server runs inside an artificial LANG=C environment
Hi,
On Thursday 15 January 2009, Josef Spillner wrote:
> de_DE.UTF-8. Even when running
> "/etc/init.d/apache start"
> from the interactive console, the LANG value in
> /proc/<apachemainpid>/environ was set to C. Neither in the startup
> scripts nor in the httpd sources I can find any reference to this,
> therefore this report comes without patches, unfortunately. A
> workaround is adding LANG=de_DE.UTF-8 to
> /etc/apache2/envvars, but this should hardly be necessary when
> looking at the lenny release goal of running systems which are
> unicode-enabled by default.
LANG=C is set in /etc/init.d/apache2 . Making this configurable in a
more prominent place would be good, though. I seem to remember
problems with module loading order when switching to UTF8, because
the files in .../mods-enabled are then read in a different order.
This has to be checked first.
On the other hand, most modules that interpret filenames have a
directive for configuring the charset, like IndexOptions Charset=...
for mod_autoindex and ProxyFtpDirCharset for mod_proxy_ftp. Maybe
mod_dav should have such an option, too.
Cheers,
Stefan
Reply to: