httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raj Jay <deep2...@gmail.com>
Subject [users@httpd] RequestHeader problem
Date Mon, 26 Jan 2009 21:28:46 GMT
Hi,

I am using Apache as a reverse proxy. I would like Apache to look at a
specific header in incoming requests and use it to add a new header
before passing the request to the remote server .

To achieve this, I have added the following in my config file:

RequestHeader set "Date" "%{HTTP_my-date}e"

In the above example, I want Apache to use the "my-date" header value
from the incoming request to set the Date header.

The Date header does get set, but the value of it is always (null).  I
can't see why this should happen. Can someone please help.

Thanks!

-Raj.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message