API - Apache - Specify allowed HTTP method in .htaccess
This commit is contained in:
parent
7c57bd9538
commit
6410bf9670
1 changed files with 7 additions and 0 deletions
|
@ -14,3 +14,10 @@ RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
|
|||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^ index.php [QSA,L]
|
||||
|
||||
<Limit GET POST PUT DELETE OPTIONS>
|
||||
Require all granted
|
||||
</Limit>
|
||||
<LimitExcept GET POST PUT DELETE OPTIONS>
|
||||
Require all denied
|
||||
</LimitExcept>
|
||||
|
|
Loading…
Reference in a new issue