Apache, date (243 Views)
Reply
Regular Advisor
Kathleen
Posts: 185
Registered: ‎12-07-2000
Message 1 of 7 (243 Views)

Apache, date

How do I update the date on Apache web server? We are running it on HP-UX 11.0 with Openmail 7.0. When we check messages in the Omgui client, the dates just perfect. If we look at them in the openmail web client we are using with apache, they show up with a time stamp of 10 hours later. So, I am assuming this is a setting that needs to be adjusted in apache....but how?
Respected Contributor
Marco Paganini
Posts: 189
Registered: ‎06-03-1997
Message 2 of 7 (243 Views)

Re: Apache, date

Hello Kathleen,

I didn't understand exactly what timestamp are you talking about. If you check your apache log files, what date/time do you see there? Aren't you getting confused with the date you started the process (shown in ps)?

Regards,
Paga
Keeping alive, until I die.
Regular Advisor
Kathleen
Posts: 185
Registered: ‎12-07-2000
Message 3 of 7 (243 Views)

Re: Apache, date

The date of the openmail message. When we look at it through the openmail client, it looks fine. But when we view the same message in the web client, it shows a time in the future. So I am assuming that this relates to the time stamp for apache? When looking through the omgui client, the messages show with the correct time (that corresponds with the unix clock)
Honored Contributor
someone_4
Posts: 1,563
Registered: ‎05-16-2000
Message 4 of 7 (243 Views)

Re: Apache, date

What time does your web client say?

Regular Advisor
Kathleen
Posts: 185
Registered: ‎12-07-2000
Message 5 of 7 (243 Views)

Re: Apache, date

The email message I sent at 11:38 shows as 23:38 in the web version of openmail. Beyond that, I am not sure how to check the time on the apache web server. Does it automatically take the time of the unix server or does it have its own date set somewhere? I am just wondering why the times are different depending on what client I am using...exact same message though.
Regular Advisor
Kathleen
Posts: 185
Registered: ‎12-07-2000
Message 6 of 7 (243 Views)

Re: Apache, date

11:38am the message was sent at...just to clarify
Acclaimed Contributor
A. Clay Stephenson
Posts: 17,825
Registered: ‎07-16-1998
Message 7 of 7 (243 Views)

Re: Apache, date

Hi Kathleen:

You could try to set the TZ variable in your htppd startup script:
e.g.
export TZ=AST10ADT
but I suspect that the real problem is that the CGI code used to display mail needs to examine the TZ variable.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.