Forum Discussion
swo0sh_gt_13163
Dec 07, 2015Altostratus
HTTP Class to iRule Migration for 11.4.0 or later.
Hello Folks,
I am working on a migration project for one of the customers who is running 11.2.1 HF8 currently and upgrading to 11.6.0.
I have converted most of the HTTP Classes/iRule for 11.6.0 h...
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!
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