Explorar el Código

Deny composer.json and composer.lock in .htaccess

Gabriel Badano hace 4 años
padre
commit
9863338371
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      .htaccess

+ 4 - 0
.htaccess

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