Merge pull request #680 from ArthurHoaro/apache-htaccess

.htaccess files: support Apache 2.4+ syntax
This commit is contained in:
Arthur 2016-11-08 15:32:14 +01:00 committed by GitHub
commit e2e6ec0f4d
7 changed files with 91 additions and 14 deletions

View file

@ -1,2 +1,13 @@
Allow from none <IfModule version_module>
Deny from all <IfVersion >= 2.4>
Require all denied
</IfVersion>
<IfVersion < 2.4>
Allow from none
Deny from all
</IfVersion>
</IfModule>
<IfModule !version_module>
Require all denied
</IfModule>

15
cache/.htaccess vendored
View file

@ -1,2 +1,13 @@
Allow from none <IfModule version_module>
Deny from all <IfVersion >= 2.4>
Require all denied
</IfVersion>
<IfVersion < 2.4>
Allow from none
Deny from all
</IfVersion>
</IfModule>
<IfModule !version_module>
Require all denied
</IfModule>

View file

@ -1,2 +1,13 @@
Allow from none <IfModule version_module>
Deny from all <IfVersion >= 2.4>
Require all denied
</IfVersion>
<IfVersion < 2.4>
Allow from none
Deny from all
</IfVersion>
</IfModule>
<IfModule !version_module>
Require all denied
</IfModule>

View file

@ -1,2 +1,13 @@
Allow from none <IfModule version_module>
Deny from all <IfVersion >= 2.4>
Require all denied
</IfVersion>
<IfVersion < 2.4>
Allow from none
Deny from all
</IfVersion>
</IfModule>
<IfModule !version_module>
Require all denied
</IfModule>

View file

@ -1,2 +1,13 @@
Allow from none <IfModule version_module>
Deny from all <IfVersion >= 2.4>
Require all denied
</IfVersion>
<IfVersion < 2.4>
Allow from none
Deny from all
</IfVersion>
</IfModule>
<IfModule !version_module>
Require all denied
</IfModule>

View file

@ -1,2 +1,13 @@
Allow from none <IfModule version_module>
Deny from all <IfVersion >= 2.4>
Require all denied
</IfVersion>
<IfVersion < 2.4>
Allow from none
Deny from all
</IfVersion>
</IfModule>
<IfModule !version_module>
Require all denied
</IfModule>

View file

@ -1,2 +1,13 @@
Allow from none <IfModule version_module>
Deny from all <IfVersion >= 2.4>
Require all denied
</IfVersion>
<IfVersion < 2.4>
Allow from none
Deny from all
</IfVersion>
</IfModule>
<IfModule !version_module>
Require all denied
</IfModule>