Home » Archive

Articles tagged with: apache2.conf

Tech »

[13 Nov 2008 | No Comment | 3,845 views]

If you uploaded some Microsoft Office 2007 files onto your Apache server, you will notice that the files will open up as a zip file from your browser. To fix this, you will need to add the new file extensions to the Apache configuration file so that it will know how to set the correct file type. At first, I tried editing the /etc/mime.types file, but that did not work for me. So, I added the file types into the Apache configuration file and voila — it worked.

In Apache, edit the httpd.conf file. Or, in Apache2 edit the apache2.conf file. Search …