shengnoah opened a new issue #1617:
URL: https://github.com/apache/incubator-apisix/issues/1617


   ### Issue description
   Support url check with regular expression matching.
   If  url contains some specical characters and regular expression defined 
matching.
   Set dynamic proxy upstream point to  HTTTP Server A.
   If msimatch regular expression.
   Set dynamic proxy upstream point to  HTTTP Server B.
   
   
   ### Example
   
   URL: http://127.0.0.1/index.pht?a=<script>
   Regular expression: 
“\<(iframe|script|body|img|layer|div|meta|style|base|object|input)” 
   Match result: Yes, found a match string:"<script"  and  set dynamic proxy 
upstream point to HTTP server B.
    
   Upstream HTTP server A : accept user normal HTTP Service Requests.
   Upstream HTTP server B : accept user illegal requests.
   Syslog Server : open Syslog UDP listening port with logs data reception for 
the statistics.
   
   flow-process
   
   
![example](https://github.com/shengnoah/luaren/wiki/images/apisix_url_regular_matching.jpg)


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

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


Reply via email to