Removing a header with proxy-core.rewrite-response
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...).
- 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).
Updated by the_undefined over 10 years ago
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.
Also available in: Atom