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 @@
|
||||||
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
15
cache/.htaccess
vendored
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue