Forum Discussion
Albert__Tase_70
Nimbostratus
Sep 25, 2006need help on syntax moving irule 4 to 9
I need help with moveing the below I rule from 4.0 to 9.2.3 code
rule Ultriva_Redirect {
if (server_port == 80) {
redirect to "https://%h/%u"
}
else {
discard
}
}
Thanks
Al Tase
when HTTP_REQUEST { if { [TCP::local_port] == 80 } { HTTP::redirect https://[HTTP::host][HTTP::uri] } else { discard } }
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