Apache handlers and MIME types in cPanel
MIME types
A MIME type tells the browser what kind of file it received: display it, download it or run it. If the browser downloads a file instead of opening it (or the other way round), add the type.
- Open "MIME Types" (group "Advanced").
- Enter the type in "MIME Type", for example
application/manifest+json, and the extensionwebmanifest. - Click "Add".

Apache handlers
A handler defines how the server processes files with an extension. For example, to run files as CGI scripts (.cgi and .pl are already set up system-wide; you need your own handler only for other extensions):
- Open "Apache Handlers".
- "Handler" -
cgi-script, "Extension(s)" - the extension you need. - Click "Add".

The panel writes the setting to .htaccess in the site folder: AddHandler cgi-script .pl, AddType application/manifest+json .webmanifest.
Do not map PHP to .html or other extensions: it breaks the site and opens security holes. The PHP version is set in Select PHP Version.