Parse ASP pages as normal Text/HTML in cPanel server using MIME type

Problem statement


One of our customers had some old .ASP file names on his website. The web files didn't actually have ASP code, but all files had .ASP extension. This customer wanted us to parse .ASP files as normal Text/HTML.

Solution


We added following MIME type in cPanel to allow Apache to parse the .ASP files as normal Text/HTML.
  1. Login to cPanel.
  2. Under Advanced section, locate and click on MIME Types. At this point there are 2 boxes to fill out as follows.

    Add Mime Type

    MIME type: text/html
    Extensions: asp .asp
  3. Once you add above MIME type, Apache will parse your .ASP files as normal HTML.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to Restore MySQL Database from phpMyAdmin?

This article will provide you the step by step guidance on how to restore MySQL database through...

How to use the IP deny manager in cPanel?

How to use the IP Deny Manager in cPanel This demo assumes you've already logged in to cPanel,...

Where do I upload my files/folders in Shared Hosting plans?

All the files associated with your website must be placed inside the root folder of your domain....

How to Transfer Files Between Remote Systems?

This article will assist you to transfer web content between two remote Linux machines. cPanel...

Fix - Error 330 ( ERR_CONTENT_DECODING_FAILED)

Sometimes, you open page of your website in Firefox browser and you get following error....