Forum Discussion
Nath
Cirrostratus
Feb 02, 2016Irule redirection
Hi can you please help with this.
I have 2 pool member eg. 1.1.1.1 and 2.2.2.2
If I hit f5 vs he will LB and if im assign to 1.1.1.1 pool member i should go to 1.1.1.1/asd/sample.com same on the second pool member.
1 Reply
Hi Nathaneil,
to redirect initial www-root directory requests (aka. "/") to a given sub directory you may try the iRule below...
when HTTP_REQUEST { if { [HTTP::uri equals "/" } then { HTTP::redirect "/asd/sample.com" } }Note: To make the users always stick to the same pool member, you have to use persistence profiles.
Cheers, Kai
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