Forum Discussion
Pradeep_Siwach_
Nimbostratus
Jul 17, 2012HTTPS Request irule
Hi,
We have VS with SSL client profile and the redirection irule configured for HTTP VS.
Currently the site www.xyz.com or xyz.com get redirected to https://www.xyz.com due to irul...
nitass
Employee
Jul 18, 2012Whenever we go for URL https://xyz.com it gives Connection reset but when we provide the URI along with it redirect properly such as https://xyz.com/home.aspx.wondering what result is when running curl.
e.g.
[root@ve10:Active] config b virtual bar list
virtual bar {
destination 172.28.19.79:443
ip protocol 6
rules myrule
profiles {
clientssl {
clientside
}
http {}
tcp {}
}
}
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] eq "xyz.com" } {
HTTP::redirect "https://www.[HTTP::host][HTTP::uri]"
}
}
}
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