How to Fix MIME Type Problems in Elgg 1.8
Last Updated on Wednesday, 17 October 2012 07:27 Written by Rodolfo Hernandez Thursday, 18 October 2012 12:00
There has been a big problem for a while involving recognizing MIME types in elgg 1.8 This is due to the fact that the latest elgg release quietly requires php 5.3 to properly recognize MIME types as pointed out for one of our elgg users in our forum. For that reason in this article I will show you to fix this issue.
By default, all of our Linux accounts use of PHP 5.2 as not all scripts are compatible with PHP 5.3, but since elgg relies on php 5.3, we are going to do the following solution, which was extracted from one of our articles written by Ryan.
Open the .htaccess file of your elgg installation, and of the top of the file, add this line:
AddHandler application/x-httpd-php53 .php
Learn MoreHow to Configure Web Server to Host Silverlight Applications
Last Updated on Friday, 29 June 2012 05:01 Written by Andrew Ivanov Saturday, 30 June 2012 12:00
Not only IIS web server can host Silverlight applications. Apache can host up Silverlight content too. Silverlight introduces two new file extensions (.xaml for loose XAML files and .xap for the zip-based binary packaging format). As a result, you need to add the MIME types for those file extensions to your web server so that it recognizes Silverlight content appropriately. Here are the MIME types you need to add to the server configuration:
| Extension | MIME Type |
| .xaml | application/xaml+xml |
| .xap | application/x-silverlight-app |
How to Add a Custom MIME Type in cPanel
Last Updated on Tuesday, 8 February 2011 07:02 Written by Naveed Ashraf Tuesday, 8 February 2011 02:13
Applied on: cPanel (Linux) Hosting
MIME types relay information to the browser about how to handle file extensions. Adding MIME types is useful for enabling visitors’ browsers to handle new technologies as they come out. cPanel lets you add new MIME types to your web server by defining a name, directory, and corresponding file extension.
Learn MoreHow to Add MIME Types in WebSitePanel
Last Updated on Sunday, 6 February 2011 11:10 Written by Naveed Ashraf Thursday, 3 February 2011 05:10
Applied on : WebSitePanel (Windows) Hosting
The MIME is used in Internet communications to transmit documents of varying formats. It is used by World Wide Web (WWW) Servers to identify the types of files they send to WWW Clients.
Learn More
Recent Comments