Forum Discussion
Match any non-fdqn hostname in Local Traffic Policy
Hi,
I am trying to match any internal hostname (ie without a domain) in the host header. In the PAC file for the browsers we use the 'isPlainHostName' function but I can't find a way of matching the same pattern in a Local Traffic Policy. I tried "does not contain" "." but it doesn't work maybe the . (dot) should be escaped ?
I can't find a clever way of doing this. If anyone did, please let me know.
Thanks
- youssef1
Cumulonimbus
Hi Stéph,
you can just create a policy and specify
Match all of the following conditions: HTTP Host - Host - does not end with - any of ".myInternalDomain.com".
and set your condition.
In this case you will trigged all any internal hostname (ie without a domain) in the host header...
Keep me in touch
regards,
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com