I have a web application, and it has a RESTful PHP backend that uses Zend framework (which does its own URL rewriting magic).
The problem is, my backend's entry-page is api.php
and the endpoints look like:
api.php/resource1
api.php/resource2/id
All I want to do is remove the .php
file extension so my URLs look a little cleaner.
Is there any way of doing this without removing the file extension from the PHP file?