« [IE] sorry, I’m sorry dave, I can’t do that. | Main | Intro to Vim Tip #4 (Pasting) »
More IE Fun
By Jesse Morgan | July 13, 2006
ran into a problem with mod_rewrite and IE- a real one this time. IE was choking on files that were being downloaded via mod_rewrite. same script worked without rewrite, died with it.
Did some research and with a lot of help from noodl of #apache figured out it was because mod_rewrite adds a “Vary: Host” line to the header, which apparently IE chokes on. loaded the header module in apache and added “Header unset Vary” after my rewrite and all is good- cvs, pdf, zip all download properly. Hurray.
Topics: IRC, Linux, Open Source, Work |
September 1st, 2006 at 9:11 am
You can give a directive in Apache con file to block Vary only for IE:
BrowserMatch “MSIE” force-no-vary