How to add custom MIME type in Plesk panel

0
1155
Add custom MIME type

MIME

MIME types (Multipurpose Internet Mail Exchange) instructs a web browser or a mail application to handle specific files from a server. It tells how to handle files received from the server with specific extensions. In Plesk, globally-defined MIME types are inherited by all the websites and are defined in virtual directories. If a web server receives a request for unregistered MIME type, then it returns a 404 error. To add a custom MIME type in Plesk, follow the below steps

Steps to create a custom MIME Type

Step 1: Login to Plesk panel with the username and password. Then go to the section ‘Websites and Domains’ at the top of the menus.

Step 2: Select the option ‘Virtual Directories’ for the domain to view, add or delete a MIME type.

Step 3: Click the tab ‘MIME types’ at the top of the Virtual Directories page.

Click the option ‘MIME Types’

Step 4: To add a new MIME type, click the icon ‘Add MIME Type’ for the domain.

Click the icon ‘Add MIME Type’

Step 5: Fill the fields such as an extension for a file that you are adding and the content of the file using the pre-existing option in the drop-down menu. When you add custom MIME type, fill in the bottom box with the custom content.

Fill the fields to add new MIME Type

Step 6: Once done, click the option ‘Ok’ to create the new MIME type.

Click OK to add new MIME Type

LEAVE A REPLY

Please enter your comment!
Please enter your name here