You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/10/16 18:12:33 UTC
DO NOT REPLY [Bug 47985] The module does not manipulate non-200
response headers
https://issues.apache.org/bugzilla/show_bug.cgi?id=47985
--- Comment #1 from amak@covalent.net 2009-10-16 09:12:32 UTC ---
In the following configuration example:
RedirectPermanent / http://backend/
Header add "Cache-Control" "max-age=60"
RequestHeader set "Cache-Control" "max-age=60"
Neither the request header nor the response header contains the added
Cache-Control header.
Same behavior with the following config:
RewriteEngine On
RewriteRule ^/(.*) http://backend/$1 [R=302,L]
Header add "Cache-Control" "max-age=60"
RequestHeader set "Cache-Control" "max-age=60"
Order is not the issue here as switching the order of rewrite and header
results the same, where Cache-Control is not in the request nor in the response
header.
However, if proxy is used, the header is there:
ProxyPass / http://backend/
ProxyPassReverse / http://backend/
Header add "Cache-Control" "max-age=60"
RequestHeader set "Cache-Control" "max-age=60"
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org