Forum Discussion
Chris_Olson
Nimbostratus
Nov 10, 2006URI and pool redirection
Having trouble with the following iRule. Any help is appreciated.
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
if { $uri starts_with "/app1" } {
HTTP::uri [...
Chris_Olson
Nimbostratus
Dec 20, 2006I'm getting close but have a question regarding using two redirects. We are set up with two virtual servers, same IP. One for 80, one for 443. I applied a generic redirect from http to https on the 80 server.
On the 443 server, I have an irule directing them to a pool based on the "/version" that the client enters depending on what version they are running. This way, I have one SSL, one Virt address for many different versions of the same software. The http to https redirect does not appear to work or conflicts with the second redirect on the https virtual.
Do I need to come up with a single irule that will redirect to https AND a pool member based on the version or should the two irules work together as shown above?
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