Transformation rules

Hello!

I am trying to set up a transformation rule to rewrite acesso.seg.br/web/{PATH} to app.acesso.seg.br/{PATH}.
So I used this:
(starts_with(http.request.full_uri, “acesso.seg.br/web”))

And rewrite with regex expression:
regex_replace(http.request.uri.path, “^/acesso.seg.br/web/”, “/app.acesso.seg.br/”)

But I received the message “cannot use function regex_replace, not available to this plan/phase”

Is there a limitation in free plan with regex expressions or am I missing something here?

Thank you in advance!

For starters, you can’t change hostnames unless you’re on an Enterprise plan. URL Rewrite is only for paths and queries. You’d need an Origin rule to change hostname. Again, ENT only for that.

Regex is generally only available on Business and Enterprise plans.

Ok, thank you!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.