Forum Discussion
Vasile_Balan_95
Nimbostratus
Mar 10, 2006HTTP Header verification and insertion
Hi,
Here is the problem. BigIP (v 4.5) has to check for a specific URI. Then, in case the URI is matched it should check for the presence of referer header. in case the referer header is not present it should add it.
something like:
if (http_uri contains "xxxx.aspx") and if (exists http_header "Referer") {use pool *****} else {insert http_header "Referer:http:/xxxx.com" and use pool ***}
Don't think the syntax is correct, just a sketch. Don't know whether on v 4.5 it is possible either.
Please help.
Thanks,
Vasile
- Vasile_Balan_95
Nimbostratus
checked the rules, and it seems that it is impossible to insert an http header using a rule in v 4.5. - Colin_Walker_12Historic F5 AccountIt sounds like implementing your solution with two virtuals would be possible via iRules in 4.5. You could perform the first check in an iRule, and then route it accordingly to one of the two different VIPs, depending on whether you need to do the header insert or not.
- Dafydd__Rhys-JoHistoric F5 Accountnvmind
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects