# ============================================================
# RECIBOS PROVEEDORES - .htaccess raiz
# ============================================================

# Pagina principal
DirectoryIndex index.php

# Proteger archivos de datos sensibles
<FilesMatch "\.(txt|json|log)$">
    Order Deny,Allow
    Deny from all
</FilesMatch>

# Proteger carpeta data
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^data/ - [F,L]
</IfModule>

# Seguridad basica
Options -Indexes
ServerSignature Off

# PHP settings (cPanel shared hosting)
<IfModule mod_php.c>
    php_value upload_max_filesize 10M
    php_value post_max_size 10M
    php_value max_execution_time 60
    php_value memory_limit 128M
</IfModule>
