Created
January 13, 2012 23:26
-
-
Save THEtheChad/1609332 to your computer and use it in GitHub Desktop.
Access-Control-Allow-Origin for Subdomains
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
SetEnvIf Origin "^(.*\.example\.com)$" ORIGIN_SUB_DOMAIN=$1 | |
Header set Access-Control-Allow-Origin "%{ORIGIN_SUB_DOMAIN}e" env=ORIGIN_SUB_DOMAIN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gracias ;)
My Code End SubDomain http or https :