Reputation: 83697
So I would like to rewrite this URL:
http://localhost/mock/foo.php?lang=eng&userID=2
To:
http://localhost/apiMethod.pl?lang=eng&userID=2
So when I call http://localhost/apiMethod.pl?lang=eng&userID=2 in the browser, it will actually go to http://localhost/mock/foo.php?lang=eng&userID=2.
Upvotes: 0
Views: 42