This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
28 additions
and
71 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
This file was deleted.
Oops, something went wrong.
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,11 +1,7 @@ | ||
<FilesMatch "\.(txt)$"> | ||
# Apache 2.2 | ||
<IfModule !mod_authz_core.c> | ||
Order Allow,Deny | ||
Deny from all | ||
</IfModule> | ||
# Apache 2.4 | ||
<IfModule mod_authz_core.c> | ||
Require all denied | ||
</IfModule> | ||
</FilesMatch> | ||
<IfModule !mod_authz_core.c> | ||
Order Allow,Deny | ||
Deny from all | ||
</IfModule> | ||
<IfModule mod_authz_core.c> | ||
Require all denied | ||
</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,13 +1,18 @@ | ||
<Files .*> | ||
# Apache 2.2 | ||
<FilesMatch "\.(?:[Pp][Hh][Pp][345]?|[Pp][Hh][Tt][Mm][Ll])|(po|sql|html?)$"> | ||
<IfModule !mod_authz_core.c> | ||
Order Allow,Deny | ||
Deny from all | ||
</IfModule> | ||
# Apache 2.4 | ||
<IfModule mod_authz_core.c> | ||
Require all denied | ||
</IfModule> | ||
</Files> | ||
|
||
SetHandler default-handler | ||
</IfModule> | ||
</FilesMatch> | ||
<IfModule mod_php7.c> | ||
php_flag engine off | ||
</IfModule> | ||
<FilesMatch ".+\.*$"> | ||
SetHandler ! | ||
</FilesMatch> | ||
<IfModule mod_rewrite.c> | ||
RewriteRule ^.*\.php$ - [F,L] | ||
</IfModule> |
This file was deleted.
Oops, something went wrong.
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,7 +1,7 @@ | ||
<IfModule !mod_authz_core.c> | ||
Order Allow,Deny | ||
Deny from all | ||
Order Allow,Deny | ||
Deny from all | ||
</IfModule> | ||
<IfModule mod_authz_core.c> | ||
Require all denied | ||
</IfModule> | ||
Require all denied | ||
</IfModule> |