Wrong mime types served

OK, so with the help of the comments to my question and some more digging around I have found (what I think is) the correct answer:

The apache config needs to have the headers module enabled (“a2enmod headers”) and the mime module (“a2enmod mime”) and the .htaccess file needs to have sections as follows:

<IfModule mod_mime.c>

<FilesMatch "[^.]+\.css$">
   Header set Content-Type: "text/css"
</FilesMatch>

<FilesMatch "[^.]+\.js$">
   Header set Content-Type: "text/javascript"
</FilesMatch>

</IfModule>

Then restart apache and all errors in the browser go away.

deneme bonusudeneme bonusu veren sitelerpulibet girişOnwin Güncel Giriştürkçe altyazılı pornocanlı bahis casino