Serving Office 2007 documents to IE Users with Apache

I encountered an issue downloading Office 2007 documents with IE. When downloaded IE would download them as ZIP files instead.

In reality, these are zip files. Our users need them to open in the correct application.

The solution was adding the new mime types to apache.
I was unaware that apache provides mime type info for each file served or that IE actually used that information.

Adding the following my apache config fixed the problem:

    #Types for the new office documents
    AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document .docx
    AddType application/vnd.openxmlformats-officedocument.presentationml.presentation .pptx
    AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet .xlsx
    AddType application/ .xps


The windows BEEP

Working with mysql from the windows command line always unleashes at some point the loudest sound that can be generated by a sound card.

Well, here is how to turn off that feature.
Taken from:
Thank you Ben. You’ve saved my ears.

Perform the following steps to disable your machine’s system beep:

1. Right-click My Computer and select Manage.

2. Expand System Tools and select Device Manager.

3. From the View menu, select Show hidden devices.

4. Expand Non-Plug and Play Drivers.

5. Right-click Beep, and select Properties.

6. Select the Drivers tab.

7. Click Stop. You can also change the start-up type to Disabled so the beep service never starts.

Stop the windows update nag message

I like that windows wants to update and improve itself, but I hate that it wants to choose when to restart and that it nags you until you do. Where is the snooze button for this process?

Run this from the command line (as an administrator).

net stop wuauserv

It stops the windows update service.
The next time you restart your PC, everything will be back to normal.