Re: SSI and date in french

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

 



On Sat, Jan 17, 2009 at 12:35:10AM +0000, Nick Kew wrote:
>
> On 16 Jan 2009, at 13:18, Nicolas KOWALSKI wrote:
>
>> Is there a way to display the date in french?
>
> I don't know.  What happens if you set your locale to
> french in apachectl (or whatever other startup script
> you may use)?

I added LANG=fr_FR.UTF8 to the startup script, and it does not work. 

The LANG environment variable does not seem to be accepted / used 
afterwards; a small cgi-bin script shows it:

DOCUMENT_ROOT=/var/www/
GATEWAY_INTERFACE=CGI/1.1
HTTPS=on
HTTP_ACCEPT=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_CHARSET=ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING=gzip,deflate
HTTP_ACCEPT_LANGUAGE=en-us,en;q=0.5
HTTP_CONNECTION=keep-alive
HTTP_HOST=petole.demisel.net
HTTP_KEEP_ALIVE=300
HTTP_USER_AGENT=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
PATH=/usr/local/bin:/usr/bin:/bin
PWD=/usr/lib/cgi-bin
QUERY_STRING=
REMOTE_ADDR=2a01:e35:8ae7:65f0:f107:d60d:cbda:cd57
REMOTE_PORT=1117
REQUEST_METHOD=GET
REQUEST_URI=/cgi-bin/printenv
SCRIPT_FILENAME=/usr/lib/cgi-bin/printenv
SCRIPT_NAME=/cgi-bin/printenv
SERVER_ADDR=2a01:e35:8ae7:65f0::2
SERVER_ADMIN=root@xxxxxxxxxxxxxxxxxx
SERVER_NAME=petole.demisel.net
SERVER_PORT=443
SERVER_PROTOCOL=HTTP/1.1
SERVER_SIGNATURE=<address>Apache Server at petole.demisel.net Port 
443</address>
SERVER_SOFTWARE=Apache
SHLVL=1
_=/usr/bin/env


Thanks,
-- 
Nicolas


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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