12 lines
299 B
ApacheConf
12 lines
299 B
ApacheConf
<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
|
|
RewriteRule ^ index.php [L]
|
|
</IfModule>
|