liuxiran commented on issue #1919:
URL: 
https://github.com/apache/apisix-dashboard/issues/1919#issuecomment-900961089


   > > please refer to:
   > > 
https://github.com/apache/apisix/blob/master/docs/en/latest/router-radixtree.md#5-parameter-match
   > > https://github.com/api7/lua-resty-radixtree/#parameters-in-path
   > 
   > @starsz @nic-chen @liuxiran
   > 
   > Hi all, according to the docs, the parameter 
`radixtree_uri_with_parameter` allows users to set `/blog/:name` as the uri 
which could match `/blog/dog` and `/blog/:cat`. I was wondering that if we can 
also use it in `regex_uri`? For example, if `regex_uri` is set to `[" 
/iresty/:p1/:p2/:p3", "/x:p1/y:p2/z:p3"]`, apisix could match request with 
`/iresty/name/age/gender` and rewrite the request url to `/xname/yage/zgender` 
and then send to the upstreams.
   > 
   > Looking forward to your feedbacks. Thanks.
   
   also cc @spacewander to help take a look, thanks a lot


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to