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 do I Switch to Managed WordPress Hosting from Existing Shared Hosting Plan?

Existing Windows Shared Hosting Customers We offer Windows Shared Hosting plans on IIS web...

How to Disable Directory Browsing in cPanel?

If there is no index file to display your website, it will show the directories and other files....

Can I get phalcon module installed on my shared hosting product ?

Unfortunately, we do not offer Phalcon PHP module on our shared hosting environment. However, it...

How to manage DNS of addon domains in cPanel?

When you create the addon domain in cPanel, it will create the appropriate DNS zone for your new...

How to Show Hidden Files at cPanel File Manager?

More often you would need to edit .htaccess file (most common file for WordPress) and you could...