diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-09-22 11:45:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 11:45:58 +0200 |
commit | 6f199ee48906ca8cdc7d7f2cacbd4c57f474c879 (patch) | |
tree | dd6cbb62a64ea7bb418217f40b00719130cd93ef /.htaccess | |
parent | 0d930454a2892715e691f9c7713e26a3bb4ee96c (diff) | |
parent | 4488ea4bb9924eed1ac9e9ea98bb093510a68788 (diff) | |
download | Shaarli-6f199ee48906ca8cdc7d7f2cacbd4c57f474c879.tar.gz Shaarli-6f199ee48906ca8cdc7d7f2cacbd4c57f474c879.tar.zst Shaarli-6f199ee48906ca8cdc7d7f2cacbd4c57f474c879.zip |
Merge pull request #1556 from kcaran/apache_methods
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 18 |
1 files changed, 1 insertions, 17 deletions
@@ -16,23 +16,7 @@ RewriteCond %{REQUEST_FILENAME} !-f | |||
16 | RewriteCond %{REQUEST_FILENAME} !-d | 16 | RewriteCond %{REQUEST_FILENAME} !-d |
17 | RewriteRule ^ index.php [QSA,L] | 17 | RewriteRule ^ 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 |