Locales in apache suexec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How can I set the locale to something with UTF-8 instead of the
LANG="C" or "POSIX" it is currently reset to now?

I'm running python2 in fcgid with suexec and I need
sys.getdefaultencoding/sys.getfilesystemencoding to return UTF-8 for
my application.

My system locale is set properly and I pass FcgidInitialEnv LANG
"en_CA.utf8". But I'm guessing suexec is filtering it out, should I
recompile with a modified "static const char *const safe_env_lst[]"?

Thank you for your time.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux