auto-commit for f3b04df9-f563-4cb2-9a0a-69756e09f838

This commit is contained in:
emergent-agent-e1
2026-05-06 04:03:04 +00:00
parent deaad7b5d3
commit a02bdba1b7
38 changed files with 3127 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
# Epic Travel & Expeditions - API .htaccess
# Place this file in the /api/ directory
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /api/
# Route all requests to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
</IfModule>
# Security Headers
<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>
# Protect sensitive files
<FilesMatch "^(config\.php|\.env)">
Order allow,deny
Deny from all
</FilesMatch>
# Enable compression
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/json text/plain
</IfModule>
# PHP Settings
<IfModule mod_php7.c>
php_value upload_max_filesize 10M
php_value post_max_size 10M
php_value max_execution_time 300
php_value max_input_time 300
</IfModule>