Forum Discussion
nyif5_225400
Nimbostratus
Mar 21, 2017web server IIS v10
Hi
I am trying to make one IIS server behind F5 LTM. but it seems like bigIP does not do the redirection correctly and message keep coming on browser...
"The page isn’t redirecting properly
Firefo...
Leonardo_Souza
Cirrocumulus
Mar 21, 2017I don't see any problem with the iRule. I just tested in my lab, and works fine.
when HTTP_REQUEST {
log local0. "URL = http://[HTTP::host][HTTP::uri]"
if { ( [string tolower [HTTP::host]] eq "asm.lab.local" ) && ( [HTTP::uri] eq "/") } {
HTTP::redirect "http://asm.lab.local/admin/"
}
}
Mar 21 13:42:10 LABBIGIP1 info tmm4[20610]: Rule /Common/test1 : URL = http://asm.lab.local/
Mar 21 13:42:10 LABBIGIP1 info tmm4[20610]: Rule /Common/test1 : URL = http://asm.lab.local/admin/
If you are redirecting from HTTP to HTTPS, you should have another virtual server to handle the HTTPS traffic. With or without clientssl profile, and serverssl, based in your setup.
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
