Have a question on how to rewrite outbound html meta refresh.
e.g.

Let say I want to change:

<meta http-equiv="refresh" content="0; url=http://service";>

into
<meta http-equiv="refresh" content="0;
url=http://knox_host:knox_port/gateway/default/service";>

So I can route page through Knox.

I can match the entire "0; url=http://service"; with a rule dir="OUT" but I
don't have control on
how to parse the refresh time form the url.


But I would like to figure out a way so I get the refresh time.

Does Knox support regex  rule patterns on rule/rewrite template?

If it does then I could use something like (\d);\s*(.*) to capture the
refresh time in the rule and use
it in the rewrite template.

Thanks,
                     Jeffrey Rodriguez

Reply via email to