aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-22 11:45:58 +0200
committerGitHub <noreply@github.com>2020-09-22 11:45:58 +0200
commit6f199ee48906ca8cdc7d7f2cacbd4c57f474c879 (patch)
treedd6cbb62a64ea7bb418217f40b00719130cd93ef
parent0d930454a2892715e691f9c7713e26a3bb4ee96c (diff)
parent4488ea4bb9924eed1ac9e9ea98bb093510a68788 (diff)
downloadShaarli-6f199ee48906ca8cdc7d7f2cacbd4c57f474c879.tar.gz
Shaarli-6f199ee48906ca8cdc7d7f2cacbd4c57f474c879.tar.zst
Shaarli-6f199ee48906ca8cdc7d7f2cacbd4c57f474c879.zip
Merge pull request #1556 from kcaran/apache_methods
-rw-r--r--.htaccess18
1 files changed, 1 insertions, 17 deletions
diff --git a/.htaccess b/.htaccess
index 8876e346..af2dc5a7 100644
--- a/.htaccess
+++ b/.htaccess
@@ -16,23 +16,7 @@ RewriteCond %{REQUEST_FILENAME} !-f
16RewriteCond %{REQUEST_FILENAME} !-d 16RewriteCond %{REQUEST_FILENAME} !-d
17RewriteRule ^ index.php [QSA,L] 17RewriteRule ^ index.php [QSA,L]
18 18
19<Limit GET POST PUT DELETE OPTIONS> 19<LimitExcept GET POST PUT DELETE PATCH OPTIONS>
20 <IfModule version_module>
21 <IfVersion >= 2.4>
22 Require all granted
23 </IfVersion>
24 <IfVersion < 2.4>
25 Allow from all
26 Deny from none
27 </IfVersion>
28 </IfModule>
29
30 <IfModule !version_module>
31 Require all granted
32 </IfModule>
33</Limit>
34
35<LimitExcept GET POST PUT DELETE OPTIONS>
36 <IfModule version_module> 20 <IfModule version_module>
37 <IfVersion >= 2.4> 21 <IfVersion >= 2.4>
38 Require all denied 22 Require all denied