Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm running PHP through mod_fastcgi & mod_suexec, and I added Header set X-UA-Compatible "IE=edge env=best-standards-support" to my .htaccess file. It works fine for static content, but the PHP files lack the header. How do I fix this problem?

share|improve this question

1 Answer 1

Try Header always set X-UA-Compatible "IE=edge env=best-standards-support".

Please note that such a header isn't saved into the files, rather into the HTTP response environment.

If the above doesn't work, try to grab the HTTP response with either curl -I exampmle.org or for example a Firefox Addon called Live HTTP Headers to se if it's set.

share|improve this answer
always doesn't help, and I've already verified that the header is in fact not being sent with curl. –  Eric Jun 20 '10 at 3:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.