Skip to content

Instantly share code, notes, and snippets.

@umidjons
Created February 20, 2014 05:14
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save umidjons/9107445 to your computer and use it in GitHub Desktop.
Save umidjons/9107445 to your computer and use it in GitHub Desktop.
Allow GET,POST,PUT,DELETE RESTful requests in .htaccess
<Limit GET POST PUT DELETE>
order deny,allow
allow from all
</Limit>
@mrdevnet
Copy link

mrdevnet commented Feb 6, 2018

<Limit GET HEAD POST PUT DELETE OPTIONS>
# Deprecated apache 2.2 syntax:
# Order Allow,Deny
# Allow from all
# Apache > 2.4 requires:
Require all granted
</Limit>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment