Forum Discussion
DM_5174
Nimbostratus
May 09, 2011HTTP to HTTPS conditional redirect help
hi all,
Please help with integrating the first code and second code int an effcient script that achieve both redirecting if the
users comes in connecting to www.test.com so it goes to a...
Michaelyang
Cirrostratus
Dec 01, 2022Hi Kai_Wike,
Sorry, I sent the wrong one
I've updated it...
As i said... you are not passing the $pool variable into the the "tmsh::show ltm virtual" command. In this case you check if a single pool of all your pools is available. It should be "tmsh::show ltm virtual $pool"
Beside of this the [exec] part can be avoided... Give me a sec to give you a quick coding how to access and enumerate LTM configurations within TMSH scripts...
Cheers, Kai
- Colin_Walker_12Feb 03, 2006Historic F5 AccountWell, you can certainly use iRules to parse out the information you're looking for from a cookie, that's straight forward enough.
- laurent_marion2Feb 06, 2006
Nimbostratus
Hi, - Colin_Walker_12Feb 06, 2006Historic F5 AccountWell, if the cookie has the needed information, and the cookie is updated with the same (or a predictable) name, then you should be able to get the information for the backup server out of the cookie with the HTTP::cookie command.
- laurent_marion2Mar 09, 2006
Nimbostratus
Hi,