-
Notifications
You must be signed in to change notification settings - Fork 117
URL Rewrite Rule Examples
Warning: Documentation Currently Outdated
As this product is pre- version 1.0, I am still making breaking changes and not going out of my way to preserve backward compatibility as I come up with better ideas for the ways things can work. The documentation is currently a little bit outdated, but will be updated as part of the 1.0 release.
While the documentation is out of date, the example applications will show working code of varying kinds; as these are my test cases, and I don't develop the core without updating the tests.
Thanks for your patience as I improve Taffy!
This page gives example URL Rewriting rules for the most common Rewriting engines. All examples assume that your API exists at: http://example.com/api/index.cfm, and the resulting URL should resemble: http://example.com/api/artists (where "/artists" is the resource being requested)
See the official documentation for more information.
RewriteRule ^/api/(.*) http://example.com/api/index.cfm/$1
See the official documentation for more information.
RewriteRule ^/api/(.*)$ /api/index.cfm/$1
See the official documentation for more information.
?