Robert McLaws: Windows Edition

Blogging about Windows since before Vista became a bad word

Solved The Wallpaper Download Problem

Many of you have tried to download the Wallpapers from the Windows Vista Starter Edition that I posted a month or so ago, and many of you have failed. The reason is, my web server tries to use HttpCompression to reduce the size of the file as it travels over the wire. That's all well and good, but the file has already been compressed. This will corrupt the file in the browser.

Because the compression management software doesn't let you manage the compression on rewritten paths (URLs that don't map to actual folders), I've had to shut compression off for the entire "Files" section of the site. The pages will load just a hair slower now, but at least you'll be able to download the files without issue now.

Sorry about that.



  • Wesley Shephard said:

    What wonky http-compression are you using? IIS (Compress static files) and Apache (mod_gzip) both can deal with pre-compressed files without corruption. Even assuming this to be the problem, you can turn off extensions that a server compresses ( or Apache (mod_gzip_item_exclude).

    April 4, 2007 10:41 AM
  • Wesley,

    I'm using the built-in IIS compression. As I explained in the post, ASP.NET is managing the paths, and the file doesn't actually exist, it's being served up through the database. That means that IIS tries to compress the ASPX file when the file really is a ZIP file. That's why I had to shut it off to the whole section.

    When I move the site to IIS7, I'll have more control over the issue.

    April 28, 2007 7:57 PM