diff options
author | Arthur <arthur@hoa.ro> | 2016-11-08 15:32:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-08 15:32:14 +0100 |
commit | e2e6ec0f4d771c92f5fce0cbdf53f819ac1db59e (patch) | |
tree | 5ebf1abce3e6edbb865337955f46e1a1d0b24b4a /cache | |
parent | 8185e864a2c4dbf1a23c27e71100b377b2b9230d (diff) | |
parent | 5ebc1d504bc8a8f29f49a8a4fc1c421f78677b2a (diff) | |
download | Shaarli-e2e6ec0f4d771c92f5fce0cbdf53f819ac1db59e.tar.gz Shaarli-e2e6ec0f4d771c92f5fce0cbdf53f819ac1db59e.tar.zst Shaarli-e2e6ec0f4d771c92f5fce0cbdf53f819ac1db59e.zip |
Merge pull request #680 from ArthurHoaro/apache-htaccess
.htaccess files: support Apache 2.4+ syntax
Diffstat (limited to 'cache')
-rw-r--r-- | cache/.htaccess | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/cache/.htaccess b/cache/.htaccess index b584d98c..f601c1ee 100644 --- a/cache/.htaccess +++ b/cache/.htaccess | |||
@@ -1,2 +1,13 @@ | |||
1 | Allow from none | 1 | <IfModule version_module> |
2 | Deny from all | 2 | <IfVersion >= 2.4> |
3 | Require all denied | ||
4 | </IfVersion> | ||
5 | <IfVersion < 2.4> | ||
6 | Allow from none | ||
7 | Deny from all | ||
8 | </IfVersion> | ||
9 | </IfModule> | ||
10 | |||
11 | <IfModule !version_module> | ||
12 | Require all denied | ||
13 | </IfModule> | ||