Retrieving original Date: header field (httpd 2.2.3)

Retrieving original Date: header field (httpd 2.2.3)

am 13.10.2009 19:57:41 von David Jonas

How can one retrieve the original Date: request header?

I'm implementing an HMAC-based authentication in PHP similar to Amazon's
S3 authentication and I require the original Date: string for the hash.
PHP's apache_request_headers() returns all but the Date. I tried using
%{HTTP:Date} in a mod_rewrite rule but it came out empty. Digging around
in the source hasn't turned anything up yet.

I've spent days searching the Internet for this but to no avail. "Date"
is a terrible string to search on. Any help would greatly be appreciated!

Thanks,

David

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Retrieving original Date: header field (httpd 2.2.3)

am 13.10.2009 20:15:23 von David Jonas

On 10/13/2009 10:57 AM, David Jonas wrote:
> How can one retrieve the original Date: request header?
I believe the client just wasn't sending it. Sorry about the noise. Arg.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org