forked from dokuwiki/dokuwiki
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt .htaccess files for Apache 2.4
- Loading branch information
1 parent
92ec877
commit 6e2d09a
Showing
6 changed files
with
42 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
## 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
## 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
## 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> |