Hello.
I have a standard Apache2 installation on Ubuntu.
I was trying to get mod_deflate to work, which it does, but noticed it was not gzipping my .js files. A closer inspection revealed that apache isn't sending Content-Type: for anything other than .php files. For them it's sending "text/html," which is strange since DefaultType is "text/plain."
I have no clue why this is... mod_mime is enabled and I haven't touched the configs for it.
Here's an example response from my server for a .css file:
Date Wed, 11 Mar 2009 04:48:12 GMT
Server Apache/2.2.9 (Ubuntu)
Connection Keep-Alive
Keep-Alive timeout=15, max=96
Etag "30478-4fb-464bec553a600"
Vary Accept-Encoding