Merge pull request #996 from virtualtam/fix/user-css

Fix: enable access to data/user.css (Apache 2.2 & 2.4)
This commit is contained in:
VirtualTam 2017-10-17 22:39:29 +02:00 committed by GitHub
commit 1f40141a69
2 changed files with 10 additions and 4 deletions

View file

@ -10,7 +10,7 @@ trim_trailing_whitespace = true
indent_style = space
indent_size = 4
[*.{html,xml}]
[*.{htaccess,html,xml}]
indent_size = 2
[*.php]

View file

@ -1,10 +1,16 @@
<IfModule version_module>
<IfVersion >= 2.4>
Require all denied
Require all denied
<Files "user.css">
Require all granted
</Files>
</IfVersion>
<IfVersion < 2.4>
Allow from none
Deny from all
Allow from none
Deny from all
<Files "user.css">
Allow from all
</Files>
</IfVersion>
</IfModule>