diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2017-10-17 22:39:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-17 22:39:29 +0200 |
commit | 1f40141a6992af6620962cba98b72f14de076615 (patch) | |
tree | 6e9fa6bdbf5dbc95fb3455e9d0fc7f15462d9603 /data | |
parent | 839566500c31c139ad5e1ddd728633869c118a44 (diff) | |
parent | 710291b164421663b9b1cf1f866e957801ff83e0 (diff) | |
download | Shaarli-1f40141a6992af6620962cba98b72f14de076615.tar.gz Shaarli-1f40141a6992af6620962cba98b72f14de076615.tar.zst Shaarli-1f40141a6992af6620962cba98b72f14de076615.zip |
Merge pull request #996 from virtualtam/fix/user-css
Fix: enable access to data/user.css (Apache 2.2 & 2.4)
Diffstat (limited to 'data')
-rw-r--r-- | data/.htaccess | 12 |
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 | ||