httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaustubh Deorukhkar <>
Subject [users@httpd] locale for cgi in apache
Date Mon, 18 Jan 2010 16:02:39 GMT

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,

View raw message