More automated htaccess.sample

This commit is contained in:
Mikael Nordfeldth 2015-05-10 19:41:36 +02:00
parent d010c5a581
commit 4a6f509aa5

View File

@ -45,9 +45,11 @@
</IfModule> </IfModule>
<FilesMatch "\.(ini)"> <FilesMatch "\.(ini)">
# For mod_access_compat in Apache <2.4 <IfVersion < 2.3>
#Order allow,deny Order allow,deny
Deny from all
# Use this instead for Apache >2.4 (mod_authz_host) </IfVersion>
# Require all denied <IfVersion >= 2.3>
Require all denied
</IfVersion>
</FilesMatch> </FilesMatch>