# ✅ PHP limits for large JSON payloads (10k rows ~90MB)
php_value memory_limit        512M
php_value max_execution_time  300
php_value post_max_size       200M
php_value upload_max_filesize 200M

RewriteEngine On

# Pass the Authorization header to PHP (some Apache/CGI setups strip it)
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]

# Never serve the example credential folder
RedirectMatch 403 ^/.*credential_example
