Forum Discussion
gapexx_138014
Nov 25, 2014Nimbostratus
notification irule
Hello
I am having problems with one irule. Irule is distributing connections to pools based on hostname. Rule is working fine. Then I tried to add notification for clients using sslv3 connections. ...
gapexx_138014
Nimbostratus
Thanks for the hint. You were right. I was missing pattern to catch all. I managed to solve issue with rule bellow. I had to use -glob, add pattern to catch all (/*) and also moved logo.jpg to the top.
if { ([HTTP::host] starts_with "test2.") and ([SSL::cipher version] eq "SSLv3") } {
respond with notification page
switch -glob [HTTP::uri] {
"/logo.jpg" {HTTP::respond 200 content [ifile get logo]}
"/" -
"/*" {HTTP::respond 200 content [ifile get sslv3_response]}
}
}
if { [HTTP::host] starts_with "test2." } {
pool TEST2_pool
}
}
nitass
Dec 01, 2014Employee
thanks for update. i think not using -glob and changing /* to default will do the same too.
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