12 lines
452 B
ApacheConf
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] |