In article <[log in to unmask]>,
hans fohrman <[log in to unmask]> wrote:
>Hi . One of my customers asked me to post this question for you out
>there. He do not have any direct conection to this news server so can you
>pls send all anwers over mail.
>
>Regards Hans F , Hp Sweden.
>
>Is anyone using ncsa httpd-server on the HP3000 ? I'm running the
>httpd server on a HP3000 series 918. I wrote a CGI-program which uses
>time-function when I suddenly realized that the clock is 9 hours behind
>(Sweden). I changed the TZ-variable in the /etc/profile but that didn't
>help . Any suggestions?
If I recall correctly, the 3000 port is based on NCSA httpd 1.3, which
did not copy TZ into the CGI environment.
In 1.4, the following was added to http_script.c:add_common_vars():
if((env_tz = getenv("TZ")))
env[x++] = make_env_str("TZ",env_tz,out);