Last active
September 24, 2020 23:10
-
-
Save lrhazi/c1b07050dece1681736aea2084b02442 to your computer and use it in GitHub Desktop.
sample irule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
when HTTP_REQUEST { | |
set uriLowered [string tolower [HTTP::uri]] | |
if { $uriLowered starts_with "/home" } { | |
pool home_pool | |
} else { | |
pool default_pool | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment