Home Remove XForward-ssl from Vary header(Apache webserver)
Reply: 0

Remove XForward-ssl from Vary header(Apache webserver)

user545
1#
user545 Published in June 20, 2018, 7:37 am

We have an Apache server sitting behind load balancer which is terminating SSL. For business reason we cannot disable HTTP completely . But want some of the url to redirected to https which works with below eg.

RewriteCond %{HTTP:X-Forwarded-SSL} ^on$ [NC] RewriteRule ^/url.* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

But below rule is putting xforward-ssl on vary header on every request and this is affecting caching capability. Is there we can disable Xforard-ssl from vary header from Apache response ?.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.352491 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO