Forum Discussion
Pav_70755
Oct 27, 2008Nimbostratus
https re-directs
Hi,
I am trying to re-direct two https secure sites, currently there is an i-rule in place to re-direct the standard sites:
elseif { [HTTP::host] == "www.url.com" } {
...
dennypayne
Oct 29, 2008Employee
Hi Pav,
You're going to have to first do SSL decryption in order to be able to do this, you can't manipulate the HTTP request before it is decrypted (see this post (Click here) for more info).
Other than that, you would just need to do:
when HTTP_REQUEST {
if { [HTTP::uri] eq "welcome.asp" or [HTTP::uri] eq "join.asp" } {
HTTP::redirect "http://www.url.com/joining_form"
}
}
This post (Click here) also has good info on doing this with matchclass if you need more than 2 or 3 URL's to match.
Denny
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