Forum Discussion
Ravi_110217
Nimbostratus
May 05, 2008HTTP page redirection
Hello,
I'm having problem with HTTP page redirection IRULE. I want to redirect page from http://xyz.com to https://xyz.com
I have written following IRULE but it's not working ...
The_Bhattman
Nimbostratus
May 05, 2008Hi Ravi
Try the following:
when HTTP_REQUEST {
if { [HTTP::host] eq "xyz.com" } { HTTP::redirect https://[HTTP::host][HTTP::uri] }
}or
when HTTP_REQUEST {
if { [HTTP::host] eq "xyz.com" } { HTTP::redirect https://[HTTP::host] }
}Click here for a wiki referencethanks,
CB
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
