Forum Discussion
Georgi__Joe__St
Altostratus
Dec 17, 2015What is proper way to stop irule processing when F5 is behind Akamai CDN
Hi guys,
I am adapting current iRules to be "compatible" with Akamai CDN. My current challenge is how to replace properly drop, reject or event disable.
Any safe way to close HTTP session and dis...
Hannes_Rapp
Nimbostratus
Dec 17, 2015Any HTTP requests routed via Akamai CDN come with "Via" Header that contain 'akamai' sub-string in it. Therefore, for HTTP services you can use my iRule as a starting point. You can similarly just start with the functionality right after the Via header value check, but if you have more bypass conditions, such as some monitoring server IPs, using a variable could make your code look better visually.
I use similar logic
when HTTP_REQUEST {
set byPass 0
if { [HTTP::header value "Via"] contains "akamai" }{
Replace akamai with llnw if you use Limelight
set byPass 1
}
if { $byPass == 0 }{
Do whatever you want here
}
}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
