How to Configure the X-UA-Compatible Header for Certain File Types in Oracle iPlanet Web Server 7.0 (Doc ID 1384458.1)

Last updated on MAY 16, 2016

Applies to:

Oracle iPlanet Web Server - Version 7.0 and later
Information in this document applies to any platform.
***Checked for relevance on 08-Jul-2013***

Goal

A custom HTTP response header called X-UA-Compatible can be set to modify Internet Explorer (IE) 9's built in "compatibility mode." IE 9's "compatibility mode" disallows the latest features of HTML 5 and CSS 3 because it renders the web page as though the browser is IE 7 rather than IE 9.

In Apache Web Server, the X-UA-Compatible header can be set as follows to address this problem:

<IfModule mod_headers.c>
Header set X-UA-Compatible "IE=Edge,chrome=1"
# mod_headers can't match by content-type, but we don't want to send this header on *everything*
<FilesMatch "\.(js|css|gif|png|jpe?g|pdf|xml|oga|ogg|m4a|ogv|mp4|m4v|webm|svg|svgz|eot|ttf|otf|woff|ico|webp|appcache|manifest|htc|crx|xpi|safariextz|vcf)$" >
Header unset X-UA-Compatible
</FilesMatch>
</IfModule>

This Knowledge Management article will show you how to configure Oracle iPlanet Web Server 7.0 to set the X-UA-Compatible header on specific file types for Internet Explorer.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms