Project

General

Profile

Actions

Feature #2295

closed

set-request-header or remove-request-header support for mod_setenv

Added by mm over 13 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_setenv
Target version:
ASK QUESTIONS IN Forums:

Description

I would like to suggest to add a new configuration option(s) to mod_setenv.c:
set-request-header (overwrites or defines a new header)
and/or
remove-request-header (removes all request headers of a specific name)

There has been already a proposed patch for set-request-header:
http://redmine.lighttpd.net/boards/3/topics/1569

This patch was submitted reversed, I am attaching the standard one.


Files

patch-mod_setenv.c (2.79 KB) patch-mod_setenv.c set-request-header patch for mod_setenv.c mm, 2011-02-07 11:35

Related issues 1 (0 open1 closed)

Related to Feature #650: setenv.add-or-replace-response-headerFixedActions
Actions #1

Updated by georgexsh over 13 years ago

oops, someone finally noticed that patch! thanks for re-reverse the patch I originally submitted ...
lighty really should add this feature.
maybe I should add some test case for this patch to get it convinced.

Actions #2

Updated by stbuehler over 13 years ago

  • Target version changed from 1.4.29 to 1.4.x
Actions #3

Updated by ckujau over 10 years ago

Are there plans to include this into a 1.4.x release?

Actions #4

Updated by darix over 10 years ago

who wins when you have add-request-header and set-request-header?

Actions #5

Updated by georgexsh over 10 years ago

darix wrote:

who wins when you have add-request-header and set-request-header?

set-request-header , since it is processed it the end.

Actions #6

Updated by gstrauss about 8 years ago

  • Related to Feature #650: setenv.add-or-replace-response-header added
Actions #7

Updated by gstrauss almost 8 years ago

  • Status changed from New to Patch Pending
  • Target version changed from 1.4.x to 1.4.45
Actions #8

Updated by gstrauss almost 8 years ago

  • Target version changed from 1.4.45 to 1.4.46
Actions #9

Updated by gstrauss over 7 years ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100
Actions

Also available in: Atom