Преглед изворни кода

Deny composer.json and composer.lock in .htaccess

Gabriel Badano пре 4 година
родитељ
комит
9863338371
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      .htaccess

+ 4 - 0
.htaccess

@@ -1,3 +1,7 @@
+<FilesMatch ^(composer\.(json|lock))$>
+    Deny from all
+</FilesMatch>
+
 RewriteEngine on
 
 #RewriteCond %{HTTPS} !^on$