Forum Discussion
pingg_360569
Nimbostratus
May 08, 2018Irule (insert to header) does not work
Guys,
I have F5 flow: service1 ---> F5 ---> service2
I would like to insert a special header (with SSL cert, but now I testing any simple irule).
I created irule:
when HTTP_REQUEST {
HT...
youssef1
Cumulonimbus
May 08, 2018Hello,
Your syntax is correct:
when HTTP_REQUEST {
HTTP::header insert "f5header" "bigIP"
log local0. "Logs: My header is send to backend server"
}
Please check the following point.
- You set the irule to your VS (activing HTTP Profile and ssl decryption/interception if you use htts)
Check logs in /var/lg/ltm that you pass trough your Irule (to see in realtime do a tailf /var/log/ltm | grep your-irule-name)
- Use chrome plugin and inject an header from your browser (and check that you ca see it on your application).
If you see nothing, you may not be looking at the application properly or there is another problem independent of F5...
Regards
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
