This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Safari to emulte like IE using X-UA-Compatible

 
Satyajeet Kadam
Ranch Hand
Posts: 224
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I am working on an older J2EE application which was made at the time when IE8 was the latest version of IE.

Now, the requirement was to make the application IE10 compatible as many issues were observed. So we simply put in the below header in httpd.conf file of Apache Server.



Now, the requirement is to make the application IPAD compatible.

The above changes are not working for IPAD Safari Browser

Development Team is using Safari for Windows and User-Agent as "Safari iOS 4.3.3 - IPad" and Testing Team is using an actual Ipad 2nd Gen.

Please suggest a generic solution (similar to the Apache config changes for IE10) as I don't want to sit and fix all the issues one by one as this application is valid only for a few more months and a new one is in Dev Phase.
 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Satyajeet Kadam wrote:I am working on an older J2EE application which was made at the time when IE8 was the latest version of IE.


Which was two years after the first release of Safari for Windows, it's not an excuse for bad web development.

Satyajeet Kadam wrote:The above changes are not working for IPAD Safari Browser


Since the above changes are non-standard HTTP headers invented by Microsoft, why did you have any expectation that they would work?

Satyajeet Kadam wrote:Please suggest a generic solution (similar to the Apache config changes for IE10) as I don't want to sit and fix all the issues one by one as this application is valid only for a few more months and a new one is in Dev Phase.


There is no such generic solution. The 'solution' is not to write non-standard code which only works in IE8 in the first place. Either your management will have to wait for the new app, or they'll have to spend the time needed to fix the old one.
 
Satyajeet Kadam
Ranch Hand
Posts: 224
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q1)Is there any way we can pretend safari to render like IE?
Q2) Is there any meta tag to tell safari to render like IE?
Q3) There is meta tag for IE10 to emulate like IE8 similarly we are looking for safari.




 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q1) No
Q2) No
Q3) You already posted the http header for IE10 to emulate IE8
 
Satyajeet Kadam
Ranch Hand
Posts: 224
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Rob, we will change the code wherever testing team find issue on Safari.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic