如何设置 URL 策略代理的 url?我目前拥有http://*:*/*
并且它适用于大多数网址。网址失败示例:
http://www.example.com/something?a=123
http://localhost:8081/app/servlet?sessionToken=476b71cb12f13d54af91a9636cf4b429
来自日志的示例错误:
2009-08-05 11:48:35.890 Error 3648:108ca78 PolicyEngine: am_policy_evaluate: InternalException in Service::getPolicyResult() with error message:No Policy or Action decisions found found for resource: http://localhost:8081/app/servlet?sessionToken=476b71cb12f13d54af91a9636cf4b429 and code:7
使用“?”添加新的 URL 策略代理规则 解决了这个问题。
例子:
http://*:*/*?*