Dispatcher is installed in Apache HTTP Server 2.x. All files including .js and .css files served from the dispatcher cache are returned with "text/html" Content-Type header value. This breaks the pages in the site.
AEM Dispatcher installed in Apache HTTP Server 2.2 or later
There is a misconfiguration of the Apache mod_mime module.
Review the Apache .conf files (for example: httpd.conf) and see if the directive below is set. If you find it, then remove it:
Make sure that there is a mime.types file configured, for example:
Open the mime.types file and review the mappings to make sure that the relevant files such as .js and .css are mapped to their proper mime type values.
Default mime.types file for Apache can be found here: