Forum Discussion
HTTP Class not supported on 11.4 and above
Stephen, New irules are working perfectly! Just needed to add a couple of static expressions and combined to my existing domain responder irules. Thanks for your assistance! Now I can upgrade the code to resolve TLS poodle and GHOST. Thanks, Bryce
when HTTP_REQUEST { if { ([HTTP::host] equals "stage.foo.com") or ([HTTP::host] equals "206.X.X.X") } { HTTP::respond 301 Location "http://www.stage.foo.com[HTTP::uri]"
}
Content expressions to pools
switch -regexp [string tolower [HTTP::path]] { {.gif$} - {.pdf$} - {.txt$} - {.css$} - {.swf} - {.flv$} - {.png$} - {.ico$} - {.js$} - {.js[^p]+.$} - {.html$} -
{.jpg$} - {.jpeg$} - {.eot$} - {.ogv$} - {.ttf.$} - {.mpv$} - {.webm$} - {.*.m4v$} - {.mp4$} - {.xml$} { pool foo } default { log local0. "<[HTTP::path]> no match; using default pool" } } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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