Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 0ab4212

Browse files
authored
Merge branch 'leafsphp:v3.x' into v3.x
2 parents ee06363 + 98b133a commit 0ab4212

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.htaccess

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55

66
RewriteEngine On
77

8+
# prevent http access to .env
9+
<Files ".env">
10+
Order Allow,Deny
11+
Deny from all
12+
</Files>
13+
814
# Handle Authorization Header
915
RewriteCond %{HTTP:Authorization} .
1016
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

0 commit comments

Comments
 (0)