B
B
Be Joy2014-11-22 17:42:04
Apache HTTP Server
Be Joy, 2014-11-22 17:42:04

How to change timezone of date header in Apache?

Good time,
apache gives this header:

HTTP/1.1 200 OK
Date: Sat, 22 Nov 2014 14:37:45 GMT

How can he tell he's not in London?
php date_default_timezone_set( "..." );
SetEnv TZ "..."

Doesn't work
. Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Power, 2014-11-22
@bejoy

No way.
tools.ietf.org/html/rfc2616#section-3.3.1 :

All HTTP date/time stamps MUST be represented in Greenwich Mean Time (GMT), without exception. For the purposes of HTTP, GMT is exactly equal to UTC (Coordinated Universal Time).

S
Sergey Petrikov, 2014-11-22
@RicoX

Run in terminal:
Then check.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question