Forum Discussion
Hem_66900
Cirrus
Nov 24, 2014Irule not working to insert header value when we issue URI redirect in different irule as below
Irule not working to insert header value when we issue URI redirect in different irule as below.
Rule 1:-irule.x-forwarded-for.fix
when HTTP_REQUEST {
if {[HTTP::header exists True-Client-IP] }...
nitass
Employee
Nov 24, 2014header insertion and http redirection should not be triggered on the same request, shouldn't they?
you can disable event after either action is executed using event command.
event
https://clouddocs.f5.com/api/irules/event.html
alternatively, you may do header insertion in HTTP_REQUEST_SEND instead (of HTTP_REQUEST).
HTTP_REQUEST_SEND
https://clouddocs.f5.com/api/irules/HTTP_REQUEST_SEND.html
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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