Forum Discussion
Naumin_Dave_144
Nimbostratus
Jan 26, 2015Issue with http redirection in version 11.5.1(previously working with http class profiles in version 11.3)
Hi All,
we have some applications which need to be redirected to the servers meaning only works if uri is been added i.e. abc.com ---> abc.com/xyz/tmz/qpd.apex. So for that we used http class re...
StephanManthey
Nacreous
Jan 26, 2015Hi Naumin Dave,
without knowing the exact configuration of your v11.3 http-class profile I just try to make a good guess regarding the iRule equivalent:when HTTP_REQUEST {
test condition of matching hostname and client was not already redirected (default path)
if { ([string tolower [HTTP::host]] ends_with "abc.com") && ([HTTP::uri] eq "/") } {
redirect client into https and required path
HTTP::redirect https://abc.com/xyz/tmz/qpd.apex
return
} else {
forward client request for redirected traffic on non default path
pool Application_server
}
}
Thanks, Stephan
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