Forum Discussion
Bill_Podborny_1
Nimbostratus
Nov 01, 2005IRule for HTTPS Request
I have an SSL Virtual server that terminates the SSL session and then reencrypts the session before being forwarded to a pool of web servers. The same certificate that resides on the web server resides on the F5 BIGIP 9.x. In normal circumstances, this works fine.
Now I want to define an IRule that says if the URI of the request contains a certain call to redirect the request to a different pool that is non-ssl
Here is my current IRule
when HTTP_REQUEST {
if { [HTTP::uri] contains "/cgi2/admin"} {
pool acuweb04_pool
} else {
HTTP::redirect "https://test.domain.com/cgi-bin/mcw000.cgi
}
}
Most of the original request are HTTPS
The virtual server that uses this IRule has a pool that has two servers at port 443
The acuweb04_pool has a server that is at port 80
The HTTP_REQUEST does not seem to work for this virtual server at port 443, if I have another virtual server at port 80 it seems to work OK. Can I write this for HTTPS Request? When I change the HTTP to HTTPS it get an error when trying to update the rule
- Brian_Gupta_115
Nimbostratus
Please take a look at the following thread for a discussion of how to turn serverssl on and off for a VIP.
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