37243-vm/.htaccess
2026-01-02 22:45:22 +00:00

12 lines
452 B
ApacheConf

RewriteEngine On
# Route API calls to the correct script
RewriteRule ^api/bookings$ api/bookings.php [L]
RewriteRule ^api/ai-call-logs$ api/ai-call-logs.php [L]
RewriteRule ^api/call-tracking$ api/call-tracking.php [L]
RewriteRule ^api/reviews$ api/reviews.php [L]
# Standard rule to pass requests to index.php if they are not files or directories
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php [L]