From: ArthurHoaro Date: Thu, 5 Jul 2018 18:47:26 +0000 (+0200) Subject: API - Apache - Specify allowed HTTP method in .htaccess X-Git-Tag: v0.10.0~11^2 X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=commitdiff_plain;h=6410bf96707e381685b7dafbefcccd83ea762934 API - Apache - Specify allowed HTTP method in .htaccess --- diff --git a/.htaccess b/.htaccess index 7ba4744b..b238854c 100644 --- a/.htaccess +++ b/.htaccess @@ -14,3 +14,10 @@ RewriteRule .* - [e=HTTP_AUTHORIZATION:%1] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ index.php [QSA,L] + + + Require all granted + + + Require all denied +