4

I've my website loading pages using ajax. The pages are loaded properly in all the browsers except IE which throws an error 403 on the ajax request. However, it works fine in localhost even in IE. (Earlier it use to work properly, not sure when it began to act like that).

You can please check my site at http://ptamzz.com. Clicking on any article will make an ajax call for the content.

enter image description here

How do I fix it? Since it receives a HTTP 403 response, no data are returned so I'm unable to display my pages.

ptamzz
  • 9,235
  • 31
  • 91
  • 147
  • No clue, but I had to say: your scrolling logo effect is cool as hell! – Jere Jan 20 '12 at 19:01
  • Thanks :), Just figured out i'm not the only one with the same problem. It's the same case as these http://stackoverflow.com/questions/6894134/hash-fragments-with-forward-slash-throwing-403-errors-with-ajax-requests-in-ie, http://stackoverflow.com/questions/6158477/ajax-problem-in-internet-explorer – ptamzz Jan 20 '12 at 19:23
  • Sorry for a lot of poor attempts at an answer. I honestly was not too familiar with the hash fragment pattern. Obviously, it seems like there is an issue with IE handling the forward slash /: http://www.dynamicdrive.com/forums/archive/index.php/t-63703.html – Jere Jan 20 '12 at 20:33
  • No problem. Thanks for pointing me the link out. :) Strange enough, it works in `localhost`! – ptamzz Jan 20 '12 at 20:40

1 Answers1

0

Put this into your HTML header:

<meta http-equiv="X-UA-Compatible" content="IE=9"></meta>

Without the line, IE < 9 compatibility mode will be running on Linux Apache server and many functions will not work correctly in IE (even if they work with application on Windows localhost, or in different browser.