Forum Discussion
Set Header for Pool items and return it in the Virtual IP (VIP)
- Oct 18, 2023
Found a solution 😁 CA_Valli PSFletchTheTek
when HTTP_RESPONSE { set xserveron_header_value [class match -value [IP::server_addr] equals webfarm_headers] if {$xserveron_header_value ne ""}{ HTTP::header insert X-Server-On $xserveron_header_value } }
Interested if you get this working, as you normally don't want to let the outside world know about your internal environment.
But one thought, could your application finger print the responce for you rather than the f5?
Might be worth running a tcpdump on what you have and see if there is something already there you could be looking at,.
- InselljOct 17, 2023Altostratus
PSFletchTheTek Thanks for the reply, yeah we are only doing it on an internal web farm. So no outside world to worry about, thank goodness 🤣 Plus I wanted it to be a global thing as there is more than one site being hosted on the pool servers. Would be easy peasy doing it per app, but too many of them to warrent updating them all, unfortunately.
Great idea about the tcpdump, will be a good way to see if it is going the direction I am thinking it is. I will mention you in any solution found if you like 👍
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