Forum Discussion
Robabob_74340
Nimbostratus
Jun 18, 2007Pass desired node in URL as query param
Hello,
I'm trying to write an irule which will direct a user to a particular node when they pass a query parameter and ignore any existing persistance. For example:
http://mysite....
Robabob_74340
Nimbostratus
Jun 25, 2007Hi Deb,
Thanks again for your help. I've managed to apply my original rule to a non SSL virtual server and it work fine. I slightly modiifed it by adding the elseif so I can choose the node I wish to be re-directed to or none if no query paramas were found.
when HTTP_REQUEST {
if { [HTTP::uri] contains "node=alpha" }{
node xxx.xxx.xxx.111 80
} elseif { [HTTP::uri] contains "node=beta" } {
node xxx.xxx.xxx.112 80
}
}I'm afraid I didn't understand a lot of your commnents so I'm not sure the best way to proceed to the the SSL version working. I'll give you a little more info on our set-up incase that help explain better what I'm trying to do.
We have a number of websites hosted behind the BIG IP, some are HTTP some are HTTPS. The HTTPS certs are installed on the F5's and handled there and then non-encrypted traffic is passed to the web servers. Hopefully this will help.
Thanks
Rob
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
