we are trying to replace our existing reverse proxy wih MWG7.
Unfortunately I have some trouble with the ruleset.
That's what we currently try to migrate to MWG:
Here is what we have configure so far:
RuleSet_internal_address1 (URL.Destination.IP equals external_address1)
-forward (request) (URL.Path equals "example_urlpath1" OR example_urlpath2"
URL.Path equals "/example_urlpath1" OR URL.Path equals "example_urlpath1/"
Event= Set URL.Path = "/internal_urlpath1"
URL.Path equals "example_urlpath2" OR URL.Path equals "example_urlpath2/"
Event= Set URL.Path = "/internal_urlpath2"
Event= Enable Next Hop Proxy <internal.address1>
RuleSet_internal_address2 (URL.Destination.IP equals external_address1)
-forward (request) (URL.Path equals "/example_urlpath3")
URL.Path equals "/example_urlpath3" OR " URL.Path equals "example_urlpath3/"
Events= Set URL.Path = "/internal_urlpath3"
Event= Enable Next Hop Proxy <internal.address2>
These RuleSets don't work together for some reason, one RuleSet by itself (disable other) works fine.
It seems that Rule Criteria -forward (URL.Path "example_urlpath" doesn't match and the request runs through both rulsets.
Does anybody have an idea or other solution?