Forum Discussion
Ravi_110217
Nimbostratus
May 02, 2008webpage redirection
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.
3 Replies
- hoolio
Cirrostratus
Hi,
In 4.x, you can use the following rule on an HTTP VIP to redirect all requests to https with the same host and URI:redirect to "https://%h/%u"
If you want to redirect all requests from www.xyz.com.au/ to https, you can add a check of the URI:if (http_host == "www.xyz.com.au" and http_uri == "/"){ redirect to https://%h/%u }
Aaron - Ravi_110217
Nimbostratus
what is %h and %u ?
Can you tell me pls?
THanks. - hoolio
Cirrostratus
%h is resolved to the Host header value and %u is resolved to the URI.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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