06-24-2008 11:52 PM
Hi,
I have already the following header map which works fine:
match protocol http header Host header-value abc.def.example.com*
Now I need to match whether the subdomain "def" is present or not. So, would the following accomplish this:
match protocol http header Host header-value abc.*example.com*
thanks,
Andrew.
Solved! Go to Solution.
06-25-2008 04:53 AM
Actually the first one is incorrect.
But it will work.
What you need is this
match protocol http header Host header-value abc\.(def\.)?example\.com
Press
Gilles.
06-25-2008 04:53 AM
Actually the first one is incorrect.
But it will work.
What you need is this
match protocol http header Host header-value abc\.(def\.)?example\.com
Press
Gilles.
06-25-2008 06:47 AM
Thanks Gilles,
Some review of regular expressions might be in order ;-)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide