Skip to content
Snippets Groups Projects
Commit ba85926b authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Merge pull request #1423 from wernerflamme/master

Adapt .htaccess files for Apache 2.4
parents 6fc7ffc9 6e2d09ae
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,13 @@
## make sure nobody gets the htaccess, README, COPYING or VERSION files
<Files ~ "^([\._]ht|README$|VERSION$|COPYING$)">
Order allow,deny
Deny from all
<IfModule mod_authz_host>
Require all denied
</IfModule>
<IfModule !mod_authz_host>
Order allow,deny
Deny from all
</IfModule>
</Files>
## Uncomment these rules if you want to have nice URLs using
......
order allow,deny
deny from all
<IfModule mod_authz_host>
Require all denied
</IfModule>
<IfModule !mod_authz_host>
Order allow,deny
Deny from all
</IfModule>
## no access to the conf directory
order allow,deny
deny from all
<IfModule mod_authz_host>
Require all denied
</IfModule>
<IfModule !mod_authz_host>
Order allow,deny
Deny from all
</IfModule>
order allow,deny
deny from all
<IfModule mod_authz_host>
Require all denied
</IfModule>
<IfModule !mod_authz_host>
Order allow,deny
Deny from all
</IfModule>
## no access to the inc directory
order allow,deny
deny from all
<IfModule mod_authz_host>
Require all denied
</IfModule>
<IfModule !mod_authz_host>
Order allow,deny
Deny from all
</IfModule>
## no access to the lang directory
order allow,deny
deny from all
<IfModule mod_authz_host>
Require all denied
</IfModule>
<IfModule !mod_authz_host>
Order allow,deny
Deny from all
</IfModule>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment