https://issues.apache.org/bugzilla/show_bug.cgi?id=47985

--- Comment #1 from [email protected] 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to