Forum Discussion
SL
Cirrus
Feb 18, 2016URI Add on
Hi All
I am having a bit of difficulty to create what seems to be a fairly simple iRule.
I need an iRule that will add on a URI to an incoming request, example user goes to http://xyz.co.za...
VernonWells
Employee
Feb 18, 2016when HTTP_REQUEST {
if { [HTTP::path] eq "/" } {
HTTP::redirect "http://[HTTP::host]/redirect"
}
}
Alternatively, if you are running 11.4+, you could use a Local Traffic Policy:
SL
Cirrus
Feb 19, 2016Working like a charm, will look at the Traffic Policy root as well for future
---- Update - Upon further testing the iRule is working perfectly except for when using Windows 10 IE 11, all other browsers are working. Any ideas???
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