Forum Discussion
jtostado_47719
Nimbostratus
Oct 21, 2009BIGIP 4.5 to 9.3.1 iRule Conversion
I need help converting this rule:
if (http_uri ends_with one of portal_redirect_class) {
redirect to "https://psp-portal.com/portal/server.pt"}
else {
use pool SHAR...
The_Bhattman
Nimbostratus
Oct 22, 2009There was syntax error on mine
when HTTP_REQUEST {
if { [HTTP::uri] ends_with ".jpg" } {
HTTP::redirect "https://psp-portal.com/portal/server.pt"
} else {
pool SHAREPOINT
}
}
or
when HTTP_REQUEST {
if { [HTTP::uri] ends_with $::portal_redirect_class } {
HTTP::redirect "https://psp-portal.com/portal/server.pt"
} else {
pool SHAREPOINT
}
}
Keep in mind that this is an example.
CB
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
