How to create and manage MIME types

How to create and manage MIME types 

Overview
This article provides instructions for customizing MIME types and associated extensions via the SiteWorx control panel and also provides instructions for editing and deleting existing MIME types.

Creating a MIME type

Follow the steps below to add your own custom MIME types and associated extensions.

  1. Log in to your SiteWorx account.
  2. On the main menu, click Hosting Features > Htaccess.
  3. In the Global Directory Options or Per Directory Options fields, click MIME -Types.
  4. In the MIME -Type column, enter the MIME type you want to use for the given extensions. As you type, the field will auto-complete with various known MIME types.

    Attention: MIME types must be in the following format: /. You can type more than one extension in the Extensions field, separated by either spaces or commas.

  5. Click Add.

Editing a MIME type

  1. Log in to your SiteWorx account.
  2. In the main menu, click Hosting Features > Htaccess.
  3. Under the section corresponding to the directory whose MIME type you want to edit, Global Directory Options or Per Directory Options, click MIME -Types.
  4. Click the Edit link next to the MIME type to edit.
  5. In the MIME type column, enter the MIME type to use for the given extensions. As you type, the field will auto-complete with various known MIME types.

    Attention: MIME types must be in the following format: /. You can enter more than one extension in the Extensions field, separated by either spaces or commas.

  6. Click Save.

Deleting a MIME Type

  1. Log in to your SiteWorx account.
  2. On the main menu, click Hosting Features > Htaccess.
  3. Under the section corresponding to the directory whose MIME type you want to delete, Global Directory Options or Per Directory Options, then click MIME types.
  4. Select the check box next to each MIME type that you wish to delete. You can also click Check All to quickly select all of the check boxes at once.
  5. From the with selected: drop-down list, select Delete.
  6. When prompted for confirmation, click Delete to finish.

 

For 24-hour assistance any day of the year, contact our Support Team by email or through the Client Portal.

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
How to allow or block hostnames and IP addresses
Added on Wed, Jul 31, 2013
How to manage index files
Added on Mon, Aug 5, 2013
How to prevent bandwidth theft or Hotlinking
Added on Mon, Aug 5, 2013
How to create .htaccess files
Added on Fri, Aug 2, 2013
Creating and managing custom error pages
Added on Tue, Jul 30, 2013
How to create URL redirect rules
Added on Tue, Jul 30, 2013
.htaccess rewrite commands
Added on Tue, Mar 27, 2018
How to block IPs with .htaccess
Added on Tue, Aug 6, 2013
What is .htpasswd?
Added on Mon, Nov 10, 2014
How to create and manage Apache handlers
Added on Tue, Aug 6, 2013