我想将url的最后部分作为GET请求(使用htaccess RewriteRule),如下所示:
http://localhost/services/rest/users/availability/detailed/Player
至:
http://localhost/services/rest/users/availability/detailed?name=player
我尝试过:
RewriteRule ^detailed/(.*)$ index.php?name=$1