aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKeith Carangelo <mail@kcaran.com>2020-09-14 15:32:51 -0400
committerKeith Carangelo <mail@kcaran.com>2020-09-14 15:32:51 -0400
commit4488ea4bb9924eed1ac9e9ea98bb093510a68788 (patch)
tree08301abb7134cc721e06a3339028119d8797ae24
parente2a2441d3bb12e831b33301e59a08183918266c3 (diff)
downloadShaarli-4488ea4bb9924eed1ac9e9ea98bb093510a68788.tar.gz
Shaarli-4488ea4bb9924eed1ac9e9ea98bb093510a68788.tar.zst
Shaarli-4488ea4bb9924eed1ac9e9ea98bb093510a68788.zip
Added PATCH to the allowed Apache request methods.
-rw-r--r--.htaccess18
1 files changed, 1 insertions, 17 deletions
diff --git a/.htaccess b/.htaccess
index 4c004271..76fd7d09 100644
--- a/.htaccess
+++ b/.htaccess
@@ -15,23 +15,7 @@ RewriteCond %{REQUEST_FILENAME} !-f
15RewriteCond %{REQUEST_FILENAME} !-d 15RewriteCond %{REQUEST_FILENAME} !-d
16RewriteRule ^ index.php [QSA,L] 16RewriteRule ^ index.php [QSA,L]
17 17
18<Limit GET POST PUT DELETE OPTIONS> 18<LimitExcept GET POST PUT DELETE PATCH OPTIONS>
19 <IfModule version_module>
20 <IfVersion >= 2.4>
21 Require all granted
22 </IfVersion>
23 <IfVersion < 2.4>
24 Allow from all
25 Deny from none
26 </IfVersion>
27 </IfModule>
28
29 <IfModule !version_module>
30 Require all granted
31 </IfModule>
32</Limit>
33
34<LimitExcept GET POST PUT DELETE OPTIONS>
35 <IfModule version_module> 19 <IfModule version_module>
36 <IfVersion >= 2.4> 20 <IfVersion >= 2.4>
37 Require all denied 21 Require all denied