Re: Date Format of Shell Program Changes in Apache

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

 





On Jul 1, 2016, at 17:50, Yehuda Katz <yehuda@xxxxxxxxxx> wrote:

This is because of the locale settings. I changed the script to show the locale (and to be plain text so the spaces are visible).

#!/usr/bin/perl
use strict;
print "content-type: text/plain\n\n";
print `who`;
print `locale`;


That was it. Thanks :)

[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