Forum Discussion
krish_net_18726
Nimbostratus
Jul 01, 2015Redirection Help required to internal Pool member
HI Need help to achieve this When ever one try to access https://abc.com/monthly-portfolio-report it should redirect to one of its pool member 192.168.15.90/portfolio_emailer/index.php
Regards, chris
3 Replies
- Samir_Jha_52506
Noctilucent
Hi, Traffic can be redirected to specific node not URI(i guess). you can use redirection at server side later to reach specific page. Guys please correct me.
when HTTP_REQUEST { if { [string tolower [HTTP::uri] ] starts_with "/monthly-portfolio-report" } { node 192.168.15.90 } else { pool xyz } } - TechT
Nimbostratus
Hi Chris, can you please try the below code (hope you have the index page configured on the given node).
when HTTP_REQUEST { if { ([HTTP::path] contains "abc.com/monthly-portfolio-report") } { node 192.168.15.90 } else { pool } - stan_piron
Cumulonimbus
Hi Maneesh,
Why do you specify pool default pool???
when HTTP_REQUEST { if { ([HTTP::host] equals "abc.com") && ([HTTP::path] starts_with "/monthly-portfolio-report") } { node 192.168.15.90 } }
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