Forum Discussion
gh0std0g_79292
Nimbostratus
Apr 12, 2012http -> 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
Employee
Apr 13, 2012can 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"
}
}
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