Forum Discussion
CGI
May 05, 2012Altostratus
Optimizing Irule
Hi below is a rule being used together with geofilter and looking at the specific uri and then sending requests to different pools based on the Country, is there a more effective way todo the same thi...
CGI
May 15, 2012Altostratus
Hi Aaron it would seem that we have a problem with the application it needs the ports to be changed in the host header,and we use diiferent ports depending on the country.
Now i know the synatx for the port change:-
HTTP::header replace Host [string map {:80 :7775} [HTTP::host]] for Finland and then
HTTP::header replace Host [string map {:80 :7776} [HTTP::host]] for Denmark and then last
HTTP::header replace Host [string map {:80 :7777} [HTTP::host]] for the default pool
But iam not sure how to combine these statements in the optimised irule you helped me with.
Now i could probably do this i another irule but it would be much better to combine them.
Any ideas ?
/Craig
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