aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2017-10-16 19:39:16 +0200
committerVirtualTam <virtualtam@flibidi.net>2017-10-16 19:41:22 +0200
commit710291b164421663b9b1cf1f866e957801ff83e0 (patch)
tree6e9fa6bdbf5dbc95fb3455e9d0fc7f15462d9603
parenta93b620a35a9768e102de31f19552624f33a0ae0 (diff)
downloadShaarli-710291b164421663b9b1cf1f866e957801ff83e0.tar.gz
Shaarli-710291b164421663b9b1cf1f866e957801ff83e0.tar.zst
Shaarli-710291b164421663b9b1cf1f866e957801ff83e0.zip
Fix: enable access to data/user.css (Apache 2.2 & 2.4)
Relates to https://github.com/shaarli/Shaarli/issues/872 Relates to https://github.com/shaarli/Shaarli/issues/993 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
-rw-r--r--data/.htaccess12
1 files changed, 9 insertions, 3 deletions
diff --git a/data/.htaccess b/data/.htaccess
index f601c1ee..1d49da37 100644
--- a/data/.htaccess
+++ b/data/.htaccess
@@ -1,10 +1,16 @@
1<IfModule version_module> 1<IfModule version_module>
2 <IfVersion >= 2.4> 2 <IfVersion >= 2.4>
3 Require all denied 3 Require all denied
4 <Files "user.css">
5 Require all granted
6 </Files>
4 </IfVersion> 7 </IfVersion>
5 <IfVersion < 2.4> 8 <IfVersion < 2.4>
6 Allow from none 9 Allow from none
7 Deny from all 10 Deny from all
11 <Files "user.css">
12 Allow from all
13 </Files>
8 </IfVersion> 14 </IfVersion>
9</IfModule> 15</IfModule>
10 16