Modified .htaccess to determine request method correctly

This commit is contained in:
root 2016-08-22 12:28:20 +02:00
parent 3e797e3fe1
commit b37c5b525f

View file

@ -1,3 +1,3 @@
RewriteEngine on
RewriteCond %{REQUEST_METHOD} !^(DELETE|PUT)
RewriteCond %{REQUEST_METHOD} (DELETE|PUT)
RewriteRule ^(.*)$ index.php?uri=$1 [L,QSA]