You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kaustubh Deorukhkar <ka...@gmail.com> on 2010/01/18 17:02:39 UTC

[users@httpd] locale for cgi in apache

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