I'm using an API that puts a unique id in the route and then I need that unique ID moved into my internal routing (so php can work with it).
The url is:
http://top.level.domain/folder/[UNIQUEID]/index.php
The file on the server to host is actually located at:
http://top.level.domain/folder/index.php
So I need to turn the original URL into:
http://top.level.domain/folder/index.php/[UNIQUEID]
Any ideas of a rewrite rule that would do what I need?
No comments:
Post a Comment