Created
February 20, 2014 05:14
-
-
Save umidjons/9107445 to your computer and use it in GitHub Desktop.
Allow GET,POST,PUT,DELETE RESTful requests in .htaccess
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
<Limit GET POST PUT DELETE> | |
order deny,allow | |
allow from all | |
</Limit> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<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>