https://bz.apache.org/bugzilla/show_bug.cgi?id=58231

--- Comment #7 from Luca Toscano <[email protected]> ---
I found the following example as proof of issues originated from the Vary:
Host:

http://www.nivas.hr/blog/2017/02/13/apache-sending-vary-host-making-things-uncacheable-varnish/

I still haven't been able to get a response with Vary:Host using mod_rewrite
(although I can see from the code that it explicitly set if when it finds it in
a RewriteCond, so probably I am doing something wrong in my config) but I found
another way to get it:

  <If '%{HTTP_HOST} -eq "bla"'> [..] </If>

It makes sense since I can see a add_vary function in util_expr_eval.c. As far
as I understand the RFC explicitly prohibits the Vary: Host header, so it
should be prevented in out codebase. 

Any opinion?

-- 
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