Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Apache, date

Kathleen
Regular Advisor

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?
6 REPLIES
Marco Paganini
Respected Contributor

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.
Kathleen
Regular Advisor

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)
someone_4
Honored Contributor

Re: Apache, date

What time does your web client say?

Kathleen
Regular Advisor

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.
Kathleen
Regular Advisor

Re: Apache, date

11:38am the message was sent at...just to clarify
Highlighted
A. Clay Stephenson
Acclaimed Contributor

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.