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 Add Domain Alias in WebsitePanel, cPanel and Plesk Panel?

This article describes how to add domain alias in WebsitePanel, cPanel and Plesk panel. Add...

What is the procedure to transfer my web hosting from other web hosting provider to AccuWebHosting.com?

Following article will assist you to transfer your websites to AccuWebHosting server. According...

What Software Do You Use for Webmail?

Windows Shared Hosting With all Windows Shared Hosting plans, we offer SmarterMail as a mail...

Is HTML5 Supported in Your Servers?

Since HTML content has nothing to do with the web server, there are no special requirements...

What is the Max_execution_time allowed for Linux shared server?

Default Max_execution_time on our Linux Shared Server is 30 seconds. We can set it to 60 Seconds...