-
Notifications
You must be signed in to change notification settings - Fork 117
URL Rewrite Rule Examples
Adam Tuttle edited this page Aug 21, 2010
·
21 revisions
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/$1See the official documentation for more information.
RewriteRule ^/api/(.*)$ /api/index.cfm/$1See the official documentation for more information.
?