Project

General

Profile

Actions

Feature #650

closed

setenv.add-or-replace-response-header

Added by chernousov almost 18 years ago. Updated about 7 years ago.

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

Description

Please add one more config option - setenv.add-or-replace-response-header.
This one will be very useful, because add-response-header really adds, but not replaces header.


Related issues 1 (0 open1 closed)

Related to Feature #2295: set-request-header or remove-request-header support for mod_setenvFixed2011-02-07Actions
Actions #1

Updated by Anonymous almost 16 years ago

A list might be enough, but I used this change extensively to do really intelligent filtering on a project where I got hundreds of notifications a day. It was far easier to setup filters for specific headers; parsing (especially with server side filtering agents like Sieve) might be much harder. Besides, aren't headers pretty well understood?

Actions #2

Updated by aredridel over 15 years ago

+1. I'd love to have this -- I need to set the Host header in mod_proxy.

Actions #3

Updated by gstrauss over 7 years ago

  • Related to Feature #2295: set-request-header or remove-request-header support for mod_setenv added
Actions #4

Updated by gstrauss over 7 years ago

  • Description updated (diff)
  • Status changed from New to Patch Pending
  • Assignee deleted (jan)
  • Target version set to 1.4.45

aredridel: Messing with Host request header using mod_setenv is not recommended.
Instead, use proxy.replace-http-host directive in Docs_ModProxy for what it seems like you are trying to do.

Actions #5

Updated by gstrauss over 7 years ago

  • Target version changed from 1.4.45 to 1.4.46
Actions #6

Updated by gstrauss about 7 years ago

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

Also available in: Atom