Created
February 24, 2013 15:51
-
-
Save ikedahidenori/5024302 to your computer and use it in GitHub Desktop.
【助けて】さくらのサーバーだとIE9以降でwebfontが文字化けする ref: http://qiita.com/items/a33236a40986cd22f37d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FilesMatch "\.(ttf|otf|eot|woff)$"> | |
<IfModule mod_headers.c> | |
Header set Access-Control-Allow-Origin "*" | |
</IfModule> | |
</FilesMatch> | |
AddType application/vnd.ms-fontobject .eot | |
AddType font/ttf .ttf | |
AddType font/otf .otf | |
AddType font/woff .woff | |
RewriteEngine on | |
RewriteBase / | |
RewriteRule (.*).(eot|eot#iefix|ttf|otf|woff)$ assets/fonts/proxy.php?url=$1.$2 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment