Forum Discussion
swo0sh_gt_13163
Dec 07, 2015Altostratus
Hello Folks,
I was trying to configure an iRule to match above. I have end up with the following. Can anyone confirm if this would work as a replica of above?
when HTTP_REQUEST {
switch -regexp [HTTP::path] {
"/geoportal(/.*)\?"
"/arcgis(/.*)\?"
"/directories(/.*)\?"
"/mapviewer(/.*)\?"
"/mapviewerar(/.*)\?"
"/mapviewerbeta(/.*)\?"
"/geoportalbeta(/.*)\?"
"/proxy(/.*)\?"
"/arcgis_js_api(/.*)\?"
"/ogc(/.*)\?"
"/tokenservice(/.*)\?"
"/rest(/.*)\?"
"/OntologyService(/.*)\?"
"/services(/.*)\?" }
pool Test_Pool
}
Above iRule doesn't show any syntax errors, however if someone can confirm if this would serve the purpose or not, would be a great help.
Thanks folks!