More IE Fun

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.

One Response to “More IE Fun”

  1. Stephane Ruffieux says:

    You can give a directive in Apache con file to block Vary only for IE:

    BrowserMatch “MSIE” force-no-vary

Leave a Reply