diff --git a/api/.htaccess b/api/.htaccess new file mode 100644 index 0000000..09f15d5 --- /dev/null +++ b/api/.htaccess @@ -0,0 +1,6 @@ +RewriteEngine On + +# Route all requests (except existing files/dirs) to the API front controller +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^ index.php [L]