spacewander commented on issue #4412:
URL: https://github.com/apache/apisix/issues/4412#issuecomment-998526575


   Look like we already support it via regex match? For example:
   
   ```
   {
     "uri": "/*",
     "vars": [
         ["uri", "~*", "^/sampleweb/"]
     ],
     "plugins": {
       "fault-injection": {
         "abort": {
           "http_status": 200,
           "body": "hello world"
         }
       } 
     },
     "upstream": {
           "type": "roundrobin",
           "nodes": {
               "127.0.0.1:1980": 1
           }
       }
   }
   ```
   
   If we need to mix the case-insensitive match and case-sensitive match, the 
regex match can solve the problem.


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