Forum Discussion
Malcom_Sargla_6
Nimbostratus
Oct 12, 2007Simple Http Redirect.. double 'IF' statement
Dear Central..
I am very new to Irules and really could use some assistance with one that I am working on.. again very new so I do apologize in advance if this is very basic.
1) Cl...
Malcom_Sargla_6
Nimbostratus
Oct 17, 2007Dear Deb;
Thank you very much for information. Unfortunately though I cannot seem to get this working though. When connecting via HTTPS I get prompted for the SSL cert but don't actually make it to the destination.
1) https://pfs.swlab.xxx.net/images/1011k.bmp - no dice
however
2) When I go direct the website displays the proper image: http://dev-otasl04.bisb.swlab.xxx.net/images/1011k.bmp
when HTTP_REQUEST {
if {([matchclass [IP::client_addr] equals $::xxxx_test]) && \
([string tolower [HTTP::uri]] starts_with "/pfs")}{
HTTP::redirect "http://dev-otasl04.xxx.swlab.xxx.net[HTTP::uri]"
} else {
pool WTLPERF-updates_8100
}
}
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