maverick - apache locale issue
Clint Byrum
clint at ubuntu.com
Mon Dec 6 20:57:37 UTC 2010
On Mon, 2010-12-06 at 13:06 +0100, Aljoša Mohorović wrote:
> i'd just like to point out that it's totally insane that apache
> configuration by default uses LANG=C and not system locale.
> it basically disables apache to properly handle file uploads with
> non-ascii filenames, in my case when using mod_wsgi.
>
> since i'm sure there is a perfectly sane explanation for this could
> somebody explain why is LANG=C used instead of system locale?
> all comments appreciated.
>
It may just be that nobody ever noticed.
I did some digging around the bzr branches at lp:ubuntu/apache2 and it
seems that since importing the init.d script back in 2006, it had the
default of LANG=C in it.
In 2.2.12-1, August of 2009, Sefan Fritsch added it as the default in
envvars as well, though I don't know that this affected anything, it did
make it more clear.
Have you filed a bug in Debian and/or Ubuntu for this yet? I think it
warrants a deep explanation of why you think it shouldn't be defaulted
to LANG=C , and some thoughtful developer resources as well.
More information about the ubuntu-server
mailing list