diff options
author | Keith Carangelo <mail@kcaran.com> | 2020-09-14 15:32:51 -0400 |
---|---|---|
committer | Keith Carangelo <mail@kcaran.com> | 2020-09-14 15:32:51 -0400 |
commit | 4488ea4bb9924eed1ac9e9ea98bb093510a68788 (patch) | |
tree | 08301abb7134cc721e06a3339028119d8797ae24 | |
parent | e2a2441d3bb12e831b33301e59a08183918266c3 (diff) | |
download | Shaarli-4488ea4bb9924eed1ac9e9ea98bb093510a68788.tar.gz Shaarli-4488ea4bb9924eed1ac9e9ea98bb093510a68788.tar.zst Shaarli-4488ea4bb9924eed1ac9e9ea98bb093510a68788.zip |
Added PATCH to the allowed Apache request methods.
-rw-r--r-- | .htaccess | 18 |
1 files changed, 1 insertions, 17 deletions
@@ -15,23 +15,7 @@ RewriteCond %{REQUEST_FILENAME} !-f | |||
15 | RewriteCond %{REQUEST_FILENAME} !-d | 15 | RewriteCond %{REQUEST_FILENAME} !-d |
16 | RewriteRule ^ index.php [QSA,L] | 16 | RewriteRule ^ 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 |