# TRUEVAULTFINANCE - Apache configuration
Options -Indexes

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    # Optional: route unknown to index
</IfModule>

# Security headers (backup if not set in PHP)
<IfModule mod_headers.c>
    Header set X-Content-Type-Options "nosniff"
    Header set X-Frame-Options "SAMEORIGIN"
    Header set X-XSS-Protection "1; mode=block"
</IfModule>

# Deny access to sensitive patterns
<FilesMatch "\.(sql|env|log|md)$">
    Require all denied
</FilesMatch>
