Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve directory protection for Apache 2.4
- Loading branch information
1 parent
012555c
commit 585ee9e
Showing
4 changed files
with
24 additions
and
3 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 @@ | ||
# deny webserver access to this directory | ||
Deny from all | ||
<ifModule mod_authz_core.c> | ||
Require all denied | ||
</ifModule> | ||
<ifModule !mod_authz_core.c> | ||
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 @@ | ||
# deny webserver access to this directory | ||
Deny from all | ||
<ifModule mod_authz_core.c> | ||
Require all denied | ||
</ifModule> | ||
<ifModule !mod_authz_core.c> | ||
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 @@ | ||
# deny webserver access to this directory | ||
Deny from all | ||
<ifModule mod_authz_core.c> | ||
Require all denied | ||
</ifModule> | ||
<ifModule !mod_authz_core.c> | ||
Deny from all | ||
</ifModule> |