Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix .htaccess files for Apache 2.4 (and 2.2) #2429

Merged
merged 1 commit into from Jun 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .htaccess.dist
Expand Up @@ -4,10 +4,10 @@

## make sure nobody gets the htaccess, README, COPYING or VERSION files
<Files ~ "^([\._]ht|README$|VERSION$|COPYING$)">
<IfModule mod_authz_host>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_host>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
Expand Down
4 changes: 2 additions & 2 deletions bin/.htaccess
@@ -1,7 +1,7 @@
<IfModule mod_authz_host>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_host>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
4 changes: 2 additions & 2 deletions conf/.htaccess
@@ -1,8 +1,8 @@
## no access to the conf directory
<IfModule mod_authz_host>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_host>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
4 changes: 2 additions & 2 deletions data/.htaccess
@@ -1,7 +1,7 @@
<IfModule mod_authz_host>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_host>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
4 changes: 2 additions & 2 deletions inc/.htaccess
@@ -1,8 +1,8 @@
## no access to the inc directory
<IfModule mod_authz_host>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_host>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
4 changes: 2 additions & 2 deletions inc/lang/.htaccess
@@ -1,8 +1,8 @@
## no access to the lang directory
<IfModule mod_authz_host>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_host>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
4 changes: 2 additions & 2 deletions vendor/.htaccess
@@ -1,7 +1,7 @@
<IfModule mod_authz_host>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_host>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>