Forum Discussion
dan_6764
Nimbostratus
Jan 13, 2009HTTP redirect maintaining original URL
Hi,
I have a simple irule that works fine for what I need. A request comes in (say to www.mypage.co.uk), if the LB pool has no active nodes the client request is redirected to a " sorry" page....
dan_6764
Nimbostratus
Jan 13, 2009Hi,
thanks for this..
I'm not sure if it's going to do what i need though.
currently the redirect i have (the first part when LB_FAILED) redirects the user to the sorry page just fine.
What i was looking to do was redirect the user but without changing the address location in the client browser
so user comes in looking for www.mypage.com
but because there are no servers available (LB_FAILED) i redirect them to another url : www.sorry.com.
However, I want to retain their original url in the browser so if they just click refresh it comes back www.mypage.com and if there are any servers available they get the content they expected, if not back through the above cycle.
sorry about the convoluted description, but as you can guess irules and not my expertise! :-)
thanks
dan
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
