in reply to Re^6: Showing Word document in browser
in thread Showing Word document in browser

As I already said, I'm far from being an expert in this field of application. But apart that

at first sight the only thing that I can guess is that

Content-Type: application/msword;

doesn't play well with a gif file: indeed the header is recognized as a GIF89a as printed in the error message. Did you try with an actual word doc? How 'bout a plain application/octet-stream if that doesn't work either? I for one would be happier to just download it rather than to directly open it even if I were on a Windows box...