Last active
August 29, 2015 14:05
-
-
Save mspreij/15ab1bb128eae0423faf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| What I want is for the first to be turned into the second.. | |
| /widget => /widget/index.php | |
| /widget/ => /widget/index.php | |
| /widget?act=list => /widget/index.php?act=list | |
| /widget/?act=list => /widget/index.php?act=list | |
| /widget/list => /widget/index.php?act=list | |
| /widget/v2/?act=list => /widget/v2.php?act=list | |
| /widget/v2/list => /widget/v2.php?act=list | |
| v2 could also be v45, basically "v\d+" | |
| Any additional query parameters should just be passed on. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment