Forum Discussion
Pradeep_Siwach_
Jul 17, 2012Nimbostratus
HTTPS 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
Jul 18, 2012Employee
Whenever 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]"
}
}
}
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