First of all, thanks for the RESTLER Framework, this is great!
I installed the Restler API on "http://api.odience.net/". Restler responds with the correct response authority, but returns a 404 status code if I don't include index.php in the url. I installed the .htaccess file, as the examples say, but I canβt understand why it does not respond with the correct status code.
Example:
* - Access to /sandbox/about/products/en.json (and passing some GET variables + calling the about sandbox.php method) returns a 404 header, even if the returned body data is correct!
* - If we add the file "index.php" to the url, the headers are fine!
Try: Access /index.php/sandbox/about/products/en.json (with the same GETs)
Here is my detailed .HTACCESS file for the Restler root directory:
#
To protect the Restler environment, Restler library files are not available on the Internet, and the API_ROOT / index.php file includes them automatically using the require_once command.
Please advise how to configure this setting as expected?
source share