Forum Discussion
dean1
Nimbostratus
Oct 29, 2020Adding X-Robots-Tag to http::header
So I'm trying to add an additional iRule to my VS that adds the "X-Robots-Tag" "noindex" to all responses. What I have is a single iRule that contains the following code: when HTTP_RESPONSE { ...
jaikumar_f5
Noctilucent
Oct 30, 2020Your syntax is right, did you overlook it by anychance,
curl -kv https://vip:port 2>&1 | grep X-Robots-Tag- dean1Oct 30, 2020
Nimbostratus
Ok it is working. I was doing a curl on the fqdn rather than the vip. Thanks!
- jaikumar_f5Nov 02, 2020
Noctilucent
Please mark the thread closed.