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

Fix :: FTP Error at FileZilla FTP Client : "Could not connect to server"

Problem Statement Getting an error after initialization of TLS in FileZilla Error Message FTP:...

How to Increase Mailbox Quota in cPanel?

We restrict email diskspace to 2 GB in Windows Shared Hosting plans. Linux Shared Hosting...

Cpanel Email Account create Error: No specific error was returned with the failed API Call

Email account creation from Cpanel results in this error. Generally, this error is encountered...

A subdomain that I have created isn't working.

Please note that subdomain requires DNS propagation and it may take upto 24 hours. If DNS...

How to Install Drupal Manually?

We offer one-click installer Softaculous to our Linux Shared Hosting customers to install popular...