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_style = space
indent_size = 4 indent_size = 4
[*.{html,xml}] [*.{htaccess,html,xml}]
indent_size = 2 indent_size = 2
[*.php] [*.php]

View file

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