Closed drewmmiranda closed 9 years ago
Which version of IE are you using exactly?
Tested primarily in IE9 but the behavior is not specific to IE9 and can occur in 8-11. The issue is that IE by default loads local intranet sites (e.g. graylog.localdomain.tld) with compatibility view enabled which causes the pages to load with IE view mode as version 7. By setting the http header to that version, it forces the pages loaded, even if part of local intranet zone. I have verified this on other local intranet sites where I can control the http header values (e.g. IIS)
is there a way to add a custom header that would be served with every graylog web page?
where and how do you do it? we have the same problem and need to add
X-UA-Compatible: "IE=edge,chrome=1"
header
Not yet, but we'll consider this, or a related fix, for 1.3.
Thanks!
i think you can close this issue as it is duplicate of and was already solved by #1554
also note that it's better to serve ie=edge as a server header instead of meta tag, because it causes IE to reload the page as stated here https://github.com/google/web-starter-kit/issues/728
This isn't a duplicate because #1554 isn't solved which is why I opened this issue.
must be because the meta tag is not the top most tag in the header, it must come as early as the charset meta tag and since it is the last tag in the header the IE does not switch rendering engine.
But i agree serving it as a http header would be far more better solution.
The fast quick fix would be to just move both meta before the <title>
tag.
This issue was fixed on #1668.
Originally this article https://msdn.microsoft.com/en-us/library/ff955275(v=vs.85).aspx indicated that this value could be set in the
section of the HTML page, but this doesn't work as expected.Currently IE still uses compability mode for this page when hosted internally.
Adding this value to the HTTP header as indicated here, should address this: http://stackoverflow.com/questions/6156639/x-ua-compatible-is-set-to-ie-edge-but-it-still-doesnt-stop-compatibility-mode