mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-27 21:56:50 +01:00
Add <IfModule *.c> and <IfVersion> to all .htaccess
This commit is contained in:
@@ -1 +1,11 @@
|
|||||||
deny from all
|
<IfModule mod_autoindex.c>
|
||||||
|
Options -Indexes
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfVersion < 2.4>
|
||||||
|
order allow,deny
|
||||||
|
deny from all
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion >= 2.4>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
|
|||||||
@@ -1 +1,11 @@
|
|||||||
deny from all
|
<IfModule mod_autoindex.c>
|
||||||
|
Options -Indexes
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfVersion < 2.4>
|
||||||
|
order allow,deny
|
||||||
|
deny from all
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion >= 2.4>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
|
|||||||
@@ -1,2 +1,11 @@
|
|||||||
Options -Indexes
|
<IfModule mod_autoindex.c>
|
||||||
Deny from all
|
Options -Indexes
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfVersion < 2.4>
|
||||||
|
order allow,deny
|
||||||
|
deny from all
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion >= 2.4>
|
||||||
|
Require all denied
|
||||||
|
</IfVersion>
|
||||||
|
|||||||
3
tools/.htaccess
Normal file
3
tools/.htaccess
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<IfModule mod_autoindex.c>
|
||||||
|
Options -Indexes
|
||||||
|
</IfModule>
|
||||||
Reference in New Issue
Block a user