ZhangJiaLei123 edited a comment on issue #2951:
URL:
https://github.com/apache/incubator-shenyu/issues/2951#issuecomment-1060331029
Does contextPath have the same curl registration as Divide?
```json
{
"pluginName": "contextPath",
"selectorHandler": "[{\"upstreamUrl\":\"127.0.0.1:8507\"}]",
"conditionDataList": [{
"paramType": "uri",
"operator": "match",
"paramValue": "/AppName/**"
}],
"ruleDataList": [{
"ruleHandler": "{\"loadBalance\":\"random\"}",
"conditionDataList": [{
"paramType": "uri",
"operator": "match",
"paramValue": "/AppName/**"
}]
}]
}
```
ip:9195/AppName/hnsp/uaccess/logintest
It doesn't work.
```json
{
"code": -107,
"message": "divide:Can not find selector, please check your
configuration!",
"data": null
}
```
--
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]