Jon Fullmer
2017-05-03 15:04:41 UTC
Currently using TrafficServer 4.2.3 on CentOS (happy to upgrade, if later versions provide the needed feature).
I want to be able to map the backend call based on the source IP address of the caller and the contents of a custom HTTP header.
For example (the curly braces represent something that doesn’t exist):
regex_map http://(.*)/ http://{client-ip}:{contents-of-custom-HTTP-header}/
Do such macros exist?
Thanks in advance.
- Jon
I want to be able to map the backend call based on the source IP address of the caller and the contents of a custom HTTP header.
For example (the curly braces represent something that doesn’t exist):
regex_map http://(.*)/ http://{client-ip}:{contents-of-custom-HTTP-header}/
Do such macros exist?
Thanks in advance.
- Jon