Created
October 7, 2011 16:30
-
-
Save saltybeagle/1270725 to your computer and use it in GitHub Desktop.
Cross-origin Web Fonts
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
AddType font/x-woff .woff | |
AddType image/svg+xml .svg | |
AddType application/vnd.ms-fontobject .eot | |
SetEnvIf Origin "^(.*\.unl\.edu)$" ORIGIN_SUB_DOMAIN=$1 | |
<FilesMatch "\.(svg|eot|woff)$"> | |
Header set Access-Control-Allow-Origin "%{ORIGIN_SUB_DOMAIN}e" env=ORIGIN_SUB_DOMAIN | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment