Problem Statement
One of our customers had some old .ASP file names on their website. The web files didn't have ASP code, but all files had a .ASP extension. This customer wanted us to parse the .ASP files as normal Text/HTML.
Solution
We added the following MIME type in cPanel to allow Apache to parse the .ASP files as normal Text/HTML –
- Log in to cPanel.
- Under the Advanced section, locate and click on MIME Types. At this point, there are 2 boxes to be filled out, as shown in the image below –
- MIME type: text/html
- Extensions: asp .asp
3. Once you add the above MIME type, Apache will parse your .ASP files as normal HTML.