Forum Discussion
Bryce_Halkerst1
Nimbostratus
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" } } }
Bryce_Halkerst1
Feb 26, 2015Nimbostratus
Stephan,
I do have OneConnect enabled on all the vips.
Thanks,
Bryce