Skip to content

Instantly share code, notes, and snippets.

@prufrock
Created May 8, 2012 02:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prufrock/2632126 to your computer and use it in GitHub Desktop.
Save prufrock/2632126 to your computer and use it in GitHub Desktop.
.htaccess file for cross-origin resource sharing
Header set Access-Control-Allow-Origin *
Header set Access-Control-Allow-Headers "X-Requested-With, Content-Type"
Header set Access-Control-Allow-Methods "PUT, POST, GET, OPTIONS, DELETE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment