NAME

Apache::AddReqHeader - Add the value of form parameter to HTTP Request Header

SYNOPSIS

  # in httpd.conf
  PerlSetVar AddReqHeaderParam uid=>X-UID,sid=>X-Session-Id
  PerlInitHandler Apache::AddReqHeader

DESCRIPTION

Apache::AddReqHeader sets the value of form parameter to HTTP Request Header. Please set up the form parameter name and the name at the time of adding to HTTP Request Header in hash style using PerlSetVar directive.

CAUTION

Apache::Request object twice within the same request - the symptoms being that the second Apache::Request object will not contain the form parameters because they have already been read and parsed. Since -- Phase after this It is necessary to use Apache::Request->instance().

AUTHOR

Satoshi Tanimoto <tanimoto@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Apache, Apache::Request