Last active
October 20, 2016 09:45
-
-
Save robotnealan/305663f6b5a40bef64a598824cfa65ad to your computer and use it in GitHub Desktop.
An apache rule to set open CORS headers to a specific directory.
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
<Directory "/path/to/folder/containing/images"> | |
# If you have specific sub-domains you can list them instead | |
# of using the '*' wildcard. | |
Header always set Access-Control-Allow-Origin "*" | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment