Options -Indexes

<IfModule mod_rewrite.c>
    RewriteEngine On

    # Toda requisição vira webhook/index.php (caso haja rotas "amigáveis")
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^ index.php [L]
</IfModule>

# Bloqueia acesso direto a arquivos internos
<FilesMatch "(\.ini|\.log|\.php~|\.bak)">
    Require all denied
</FilesMatch>
