My Oracle Support Banner

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 JANUARY 30, 2022

Applies to:

Oracle iPlanet Web Server - Version 7.0 and later
Information in this document applies to any platform.


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

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.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.