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 edit an autoresponder in cPanel?

How to edit an autoresponder in cPanel This demo assumes you've already logged in to cPanel,...

How to create a subdomain in cPanel?

How to create a subdomain in cPanel This demo assumes you've already logged in to cPanel, and...

What Nameservers should I set to my website?

Nameservers information will be available in the login details email. You can also contact our...

Fix :: Images Do Not Show up On Some WebPages in cPanel Hosting

Problem Statement One of our customer faced the problem wherein images do not show up on some...

How to Manage Shared cPanel Account from Client Area?

This article will assist you to manage your Shared linux cPanel account from client area. At...