The below htaccess runs the GoogleFontsCSS file as PHP and parse as CSS in browser does not work.
https://github.com/DaAwesomeP/php-offline-fonts/blob/master/fonts/.htaccess
Checking the headers with Firebug shows that the GoogleFontsCSS file content type is "text/html; charset=UTF-8" while it should be text/css instead.
It seems that once I've used the SetHandler to force the file to run as PHP, the content type is hard coded to text/html and does not respect the next "header set content-type" line.
Can you replicate this issue and hopefully provide a fix?
Thanks.
https://github.com/DaAwesomeP/php-offline-fonts/blob/master/fonts/.htaccess
Checking the headers with Firebug shows that the GoogleFontsCSS file content type is "text/html; charset=UTF-8" while it should be text/css instead.
It seems that once I've used the SetHandler to force the file to run as PHP, the content type is hard coded to text/html and does not respect the next "header set content-type" line.
Can you replicate this issue and hopefully provide a fix?
Thanks.