Skip to content

Instantly share code, notes, and snippets.

@davidjbeveridge
Last active December 12, 2015 08:28
Show Gist options
  • Save davidjbeveridge/4743865 to your computer and use it in GitHub Desktop.
Save davidjbeveridge/4743865 to your computer and use it in GitHub Desktop.
Apache config for CORS on Chrome
Header append Access-Control-Allow-Origin: *
Header append Access-Control-Allow-Credentials: true
Header append Access-Control-Allow-Methods: OPTIONS, GET, POST, PUT, DELETE
Header append Access-Control-Allow-Headers: Content-Type, Depth, User-Agent, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment