[Trac]mod_python can't use LC_TIME variable in httpd.conf.
Matthew Good
trac at matt-good.net
Wed Sep 21 07:41:35 CDT 2005
On Wed, 2005-09-21 at 15:06 +0900, tdkim wrote:
> My systems are FC4 and FC3.
>
> I added "SetEnv LC_TIME ko_KR.UTF-8" in httpd.conf.
> but mod_python uses ko_KR.eucKR(my system LANG variable) for date/time format.
Take a look at the last paragraph of this section in the FAQ:
http://projects.edgewall.com/trac/wiki/TracFaq#id14
It has instructions on setting the language for Apache on RedHat based
systems.
> Of course, I tried "# export LANG=ko_KR.UTF-8 /etc/rc.d/init.d/httpd restart".
Exporting an environment variable like this only sets it within your
shell. The httpd process is run as a service at the system level, so it
will not be affected by that "export" statement.
--
Matthew Good <trac at matt-good.net>
More information about the Trac
mailing list