tzssangglass commented on issue #6387:
URL: https://github.com/apache/apisix/issues/6387#issuecomment-1047028831


   > So, in my mind, ^/pres/(.*) should match 
[m01.net/pres/headers](https://www.m01.net/pres/headers) but don't match 
[m01.net/pres](https://www.m01.net/pres/)
   
   The regular expressions here are used to match from the request uri, 
excluding the host.
   
   > ^/pres/(*) should match both 
[m01.net/pres/headers](https://www.m01.net/pres/headers) and 
[m01.net/pres](https://www.m01.net/pres/)
   
   `^/pres/(*)` is impossible to configure successfully, and I am not quite 
sure of the details inside, as far as I can remember, it has to do with the 
greedy mode of regular matching.


-- 
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