locale for cgi in apache

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

 



Hello,
 
How does a CGIs pick up the locale when invoked from apache?
I have a few CGIs written in C and installed in apache server. When these CGIs are invoked the default locale is always "C". I check it using setlocale(LC_ALL, NULL).
Now even if I change the system locale to say German, restart the apache server, the CGI still has lcoale as "C".
 
Can you please let me know how do I make the CGI pick up german locale in this case??
 
Thanks in advance,
Kaustubh

[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