]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Extend mod_headers to support conditional driven Header
authorBill Stoddard <stoddard@apache.org>
Tue, 5 Jun 2001 21:44:48 +0000 (21:44 +0000)
committerBill Stoddard <stoddard@apache.org>
Tue, 5 Jun 2001 21:44:48 +0000 (21:44 +0000)
commit80ed810f66a0483ea0b91e500d17febc95293d42
treeb6dd80d4589ffbf339094ab8a9cd33e358815b11
parentb7a46ffa150bff4fe69b359bd4bbb7eee9b45024
Extend mod_headers to support conditional driven Header
add, append and set. Use SetEnvIf to set an envar and conditionally
add/append/set headers based on this envar thusly:

     SetEnvIf TSMyHeader value HAVE_TSMyHeader
     Header add MyHeader "%t %D" env=HAVE_TSMyHeader

If the request contains header "TSMyHeader: value" then header
MyHeader: "t=xxxxxxxxxx D=yyyy" will be sent on the response.

Update mod_headers.html.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89271 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
docs/manual/mod/mod_headers.html
modules/metadata/mod_headers.c