我configuration了有效的域和path,例如http://submdomain.host.com/validpath1 http://submdomain.host.com/validpath2
这被标识为redirect: acl url_monitor path_beg /Monitor/ use_backend monitor if url_monitor
请求来到非认可的path_beg: http://submdomain.host.com/unknownpath1 http://submdomain.host.com/unknownpath2 ://submdomain.host.com/unknownpath1 http://submdomain.host.com/unknownpath1 http://submdomain.host.com/unknownpath2
我正在得到下一个错误
HTTP错误404访问问题/ unknown1。 原因:未findPowered by Jetty://
我想将所有未知的ACLredirect到: http://submdomain.host.com/support or http://support.host.com : http://submdomain.host.com/support or http://support.host.com
nbe222
以及如果你有所有有效的url列表,正如你所说的创build一个有效的URL像一个ACL
acl valid_path path_beg -i /path1 path_beg -i /path2 path_beg -i /path3 path_beg -i /path4 http-request redirect location http://submdomain.host.com/support if !valid_path