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.
We added following MIME type in cPanel to allow Apache to parse the .ASP files as normal Text/HTML.
- Login to cPanel.
- Under Advanced section, locate and click on MIME Types. At this point there are 2 boxes to fill out as follows.
MIME type: text/html
Extensions: asp .asp
- Once you add above MIME type, Apache will parse your .ASP files as normal HTML.