Forum Discussion
Sahir_180434
Nimbostratus
Aug 12, 2015Help converting HTTPClass to Policy rule
Hi,
I am trying to upgrade f5 ltm 10.2.4 to 11.5.3 and I get errors regarding existing httpclass, I am wondering if there is anyone that is expert who can help converting current httpclass config t...
Stanislas_Piro2
Cumulonimbus
Aug 12, 2015Hi,
the Policies are a set of rules. each rule replace a HTTP Class
so if both HTTP class are assigned on the same VS, you must create one policy with 2 rules:
- require http
-
actions : forwarding
-
Rule 1 :
- condition HTTP-Host host equals (List all URLs).
- Action forward pool ncast-cynweb-pool
-
Rule 2 :
-
conditions
- HTTP-Host host equals (List all URLs).
- path /
- Action http-reply redirect "/vehiclerepair"
-
conditions
the default options in condition is to ignore case, which is the same as (?i) in your URLs
Do not split URLs in multiple conditions, the OR operator is used between items of a condition, the AND operator is used between conditions.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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