Project

General

Profile

Actions

Bug #1759

closed

Removing a header with proxy-core.rewrite-response

Added by Anonymous over 16 years ago. Updated over 8 years ago.

Status:
Obsolete
Priority:
Normal
Category:
mod_proxy_core
Target version:
ASK QUESTIONS IN Forums:

Description

On a reverse-proxy setup, I was trying to remove the "Vary: Host" from the response (as a workaround for mod_cache not caching these requests...).

  1. Removes Vary based Host in answers from Apache
    proxy-core.rewrite-response = (
    "Vary" => ( "Host" => "" ),
    )

which is half-working : yes, it removes the Host from Vary... but the header stills exist. It would be nice to be able to ask lighty to entirely remove a header IMHO (not only for my work-around).

-- maxime

Actions #1

Updated by the_undefined over 15 years ago

+1

We use lighttpd to add an authentication layer to CouchDB, but unfortunately mod_proxy also passes along the clients "Authorization" headers that were meant for lighttpd to the couchdb server. Ergo, lighttpd and couchdb configs need to duplicate the user / password each - not ideal.

Actions #2

Updated by gstrauss over 8 years ago

  • Description updated (diff)
  • Assignee deleted (jan)
  • Missing in 1.5.x set to Yes
Actions #3

Updated by gstrauss over 8 years ago

  • Status changed from New to Obsolete
Actions

Also available in: Atom