Forum Discussion
Jaz_170005
Nimbostratus
May 01, 2015net::ERR_TOO_MANY_REDIRECTS
Hello,
I am facing challenges with writing an iRule...I have one host that host multiple site ( or pages which is pointing to domino DB).
I have about 15 site, here are few to keep it simpl...
kunjan_118660
Cumulonimbus
May 01, 2015You don't need a redirect that creates the loop. Setting the URI and pool is enough if I undertand the requirement correctly. You might be able to simplify with switch cmd.
when HTTP_REQUEST {
log local0."Hi-------------------"
set host [string tolower [HTTP::host]]
set uri [HTTP::uri]
if { $host equals "host1.com" and ($uri equals "") } {
set uri "/newlga.nsf/frHomePage?"
log local0. "uri = $uri ******* "
HTTP::uri $uri
pool PRD_landedgoods_Pool
}
.............
}
Jaz_170005
Nimbostratus
May 02, 2015thank you.. that worked for me.
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