Created
June 24, 2013 03:04
-
-
Save sofish/5847517 to your computer and use it in GitHub Desktop.
set origin to allow origin domain
This file contains hidden or 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
SetEnvIf Origin "^(.*\.baixing\.com)$" ORIGIN_SUB_DOMAIN=$1 | |
<FilesMatch "\.(ttf|otf|eot|woff)"> | |
<IfModule mod_headers.c> | |
Header set Access-Control-Allow-Origin "%{ORIGIN_SUB_DOMAIN}e" env=ORIGIN_SUB_DOMAIN | |
</IfModule> | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment