locale for cgi in apache

--000e0cd32e2e8be0de047d727b29
Content-Type: text/plain; charset=ISO-8859-1

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

--000e0cd32e2e8be0de047d727b29
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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

--000e0cd32e2e8be0de047d727b29--
kaustubh.deo [ Mo, 18 Januar 2010 17:02 ] [ ID #2029081 ]
Webserver » gmane.comp.apache.user » locale for cgi in apache

Vorheriges Thema: How to set multisites: same domain, different path, one ip address
Nächstes Thema: Very Very strange problem in opensuse 11.1, file uploading reports"not an image file"