Merge pull request #680 from ArthurHoaro/apache-htaccess
.htaccess files: support Apache 2.4+ syntax
This commit is contained in:
commit
e2e6ec0f4d
7 changed files with 91 additions and 14 deletions
|
@ -1,2 +1,13 @@
|
||||||
|
<IfModule version_module>
|
||||||
|
<IfVersion >= 2.4>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion < 2.4>
|
||||||
Allow from none
|
Allow from none
|
||||||
Deny from all
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule !version_module>
|
||||||
|
Require all denied
|
||||||
|
</IfModule>
|
||||||
|
|
11
cache/.htaccess
vendored
11
cache/.htaccess
vendored
|
@ -1,2 +1,13 @@
|
||||||
|
<IfModule version_module>
|
||||||
|
<IfVersion >= 2.4>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion < 2.4>
|
||||||
Allow from none
|
Allow from none
|
||||||
Deny from all
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule !version_module>
|
||||||
|
Require all denied
|
||||||
|
</IfModule>
|
||||||
|
|
|
@ -1,2 +1,13 @@
|
||||||
|
<IfModule version_module>
|
||||||
|
<IfVersion >= 2.4>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion < 2.4>
|
||||||
Allow from none
|
Allow from none
|
||||||
Deny from all
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule !version_module>
|
||||||
|
Require all denied
|
||||||
|
</IfModule>
|
||||||
|
|
|
@ -1,2 +1,13 @@
|
||||||
|
<IfModule version_module>
|
||||||
|
<IfVersion >= 2.4>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion < 2.4>
|
||||||
Allow from none
|
Allow from none
|
||||||
Deny from all
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule !version_module>
|
||||||
|
Require all denied
|
||||||
|
</IfModule>
|
||||||
|
|
|
@ -1,2 +1,13 @@
|
||||||
|
<IfModule version_module>
|
||||||
|
<IfVersion >= 2.4>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion < 2.4>
|
||||||
Allow from none
|
Allow from none
|
||||||
Deny from all
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule !version_module>
|
||||||
|
Require all denied
|
||||||
|
</IfModule>
|
||||||
|
|
|
@ -1,2 +1,13 @@
|
||||||
|
<IfModule version_module>
|
||||||
|
<IfVersion >= 2.4>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion < 2.4>
|
||||||
Allow from none
|
Allow from none
|
||||||
Deny from all
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule !version_module>
|
||||||
|
Require all denied
|
||||||
|
</IfModule>
|
||||||
|
|
|
@ -1,2 +1,13 @@
|
||||||
|
<IfModule version_module>
|
||||||
|
<IfVersion >= 2.4>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion < 2.4>
|
||||||
Allow from none
|
Allow from none
|
||||||
Deny from all
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule !version_module>
|
||||||
|
Require all denied
|
||||||
|
</IfModule>
|
||||||
|
|
Loading…
Reference in a new issue