Created
May 18, 2014 20:16
-
-
Save fitsum/c64b8b92ce6ebc3d9f5f to your computer and use it in GitHub Desktop.
Access Control - Allow Origin
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
# .htaccess | |
# | |
# single | |
Header set Access-Control-Allow-Origin "*" | |
# multiple | |
Header add Access-Control-Allow-Origin "domain1" | |
Header add Access-Control-Allow-Origin "domain2" | |
Header add Access-Control-Allow-Origin "domain3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment