Look for the Apache "httpd.conf" file. If you're not sure where it is, run this command in a terminal window or remote login to the server:
$ find / -name "httpd.conf"
Read up on the
mod_mime Apache module. Here is a sample from my httpd.conf (for Apache 2.2.4 running on my home machine (64-bit Ubuntu)):
Code:
<IfModule mime_module>
#
# TypesConfig points to the file containing the list of mappings from
# filename extension to MIME-type.
#
TypesConfig conf/mime.types
#
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#
#AddType application/x-gzip .tgz
#
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
#
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
#
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>
My "mime.types" file already has a type for ZIP defined as follows:
application/zip zip
Make sure your Apache server is setup accordingly.
Peace...