Forum Discussion
together_183451
Nimbostratus
Mar 10, 2015need help for some specific uri redirection from http to https
Hi my requirement is like some applications should NOT re-direct to https and some of them applications can re-direct to https
For this i have created below Irule but it is not taking If i remove htt...
nitass
Employee
Mar 11, 2015i know, that part is not correct can you help me how i will write the irule
i do not know your requirement. anyway, this is just an example.
[root@ve11c:Active:In Sync] config tmsh list ltm rule qux
ltm rule qux {
when HTTP_REQUEST {
if { [HTTP::host] equals "abc.com" } {
switch -glob [HTTP::path] {
"/Customer_Portal*" -
"/CustomerFeedback*" -
"/Dimension*" -
"/Pages*" -
"/Sales_Portal*" -
"/XMLApplication*" -
"/Encer_Integration*" {
Do something
}
default {
Do something
}
}
} else {
Do something
}
}
}
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