]> git repositories - QuestLog.git/commitdiff
.htaccess deny to access .env file
authorbochard <mail@tenkyuu.dev>
Thu, 12 Jun 2025 10:03:57 +0000 (18:03 +0800)
committerbochard <mail@bochard.net>
Thu, 17 Jul 2025 11:41:16 +0000 (19:41 +0800)
.htaccess

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..c16c43096978efd607284f9e06119b24d8c3df52 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -0,0 +1,5 @@
+# Deny access to .env file
+<Files .env>
+  Order allow,deny
+  Deny from all
+</Files>
\ No newline at end of file