Forum Discussion
gh0std0g_79292
Apr 12, 2012Nimbostratus
http -> https redirection and hostname replace not working
so i have a very basic iRule for https redirects and hostname replacement and append uri...
when HTTP_REQUEST {
if { [http::host] equals "aaa.xyz.com"} {
http::...
nitass
Apr 13, 2012Employee
can you try this?
when HTTP_REQUEST {
if { [HTTP::host] equals "aaa.xyz.com" and [HTTP::uri] equals "/"} {
HTTP::redirect "https://ccc.xyz.com/oa_html/ibuhpage.jsp"
} elseif { [HTTP::host] equals "bbb.xyz.com" and [HTTP::uri] equals "/" } {
HTTP::redirect "https://ccc.xyz.com/oa_html/appslocallogin.jsp"
}
}
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