fix(htaccess): Block direct access to vendor and src folders

This commit is contained in:
kj
2025-10-11 12:15:15 -03:00
parent c8d7b69367
commit ac9a661bc0

View File

@@ -1,6 +1,9 @@
<IfModule mod_rewrite.c>
RewriteEngine On
# Bloquear acceso a las carpetas vendor/ y src/
RewriteRule ^(vendor|src)/.*$ - [F,L]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f