Forum Discussion
Ravi_110217
Nimbostratus
May 02, 2008page redirection
Hello,
I wanted to redirect following webpage...
Redirect from
www.xyz.com.au to https://www.xyz.com.au
If you know IRULE , please let me know...
Thanks.
- hoolio
Cirrostratus
Here is a codeshare example for 9.x:when HTTP_REQUEST { Check if Host header value has a length if {[string length [HTTP::host]]}{ Redirect to the requested host and URI (minus the port if specified) HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri] } else { Redirect to VIP's IP address HTTP::redirect https://[IP::local_addr][HTTP::uri] } }
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