Transform rules - Hostname wildcard

Hi everyone

I want to implement a Tranform Rule on a wildcard hostname. My hostname looks as such and is working as expected: client.subdomain.domain.com

I want to add Response Headers on the following hostname: *.subdomain.domain.com/site/* but I can’t seem to get it to work. For now I used a URI Full “contains” rule on subdomain.domain.com/site which works, but I feel that a wildcard hostname rule will be better in this instance.

I tried using Hostname eq *subdomain.domain.com/site* and several other variations of this, but none of them seem to work.

Any help would be greatly appreciated.

The old page rules used Wildcards. The new Ruleset Engine instead uses operators like contains/starts with/ends with and supports a variety of fields.

Why do you think Wildcards would be better?

1 Like

Thanks Laudian

I guess it is mainly because I am used to the way the wildcards worked. It just felt a bit “cleaner”
But, if this is how the rules work then all good! Just wanted to make sure I did not potentially miss something obvious.

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

Since this page appears on Google search, adding that there is another solution available now:

3 Likes