Forum Discussion
Misbah_Ul_Haq_3
Jan 31, 2018Nimbostratus
I am unable to redirect URL on F5 Virtual Appliance please advise
I am unable to redirect URL on F5 Virtual Appliance please advise
I have configured Virtual Server, Pool, Nodes, Monitor, iRule.
ltm virtual SIEBEL_APPLICATION_HTTP_web_http_virtual {
destinat...
Misbah_Ul_Haq_3
Jan 31, 2018Nimbostratus
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "http://siebel.misali.local"} {
HTTP::redirect "http://testing.misali.local"
}
}
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "http://siebel.misali.local"} {
HTTP::respond 301 Location "http://testing.misali.local"
}
}
- Stanislas_Piro2Jan 31, 2018Cumulonimbus
Hi,
Both Niels and prince provide you the solution but you still keep http:// in the condition.
Http Host never contains http://Try this
when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "siebel.misali.local"} { HTTP::respond 301 Location "http://testing.misali.local" } }
- Misbah_Ul_Haq_3Feb 01, 2018Nimbostratus
Dear All,
Stanislas Piron, Prince and Niels van Sluis you all are great. My issue resolved with your help.
"siebel.misali.local" has successfully redirected to ";
Thanks a Million.
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