Forum Discussion
iRule
Cirrus
Jun 21, 2020Virtual Server FQDN is redirecting to pool member IP
Dear Community, When VIP URL of an application is browsed it automatically re-directs to IP URL of pool member. This virtual server contains a pool with three members. I need this application t...
iRule
Cirrus
Jun 22, 2020Dear Youssef,
I would be grateful if you provide guideline on "rewrite profile" to solve my issue.
For example my VIP URL is http://myVIP:8083/welcome. When the users browse the VIP URL it redirects to http://1.2.3.4:8083/welcome/login URL where 1.2.3.4 is IP of one of pool member. This virtual server contains three pool members.
Regards
Ahmad
youssef1
Cumulonimbus
Jun 22, 2020Hello Ahmad,
So create your rewrite profile.
- On general information -> rewrite mode, configure:
URI Translation
on URI Ttranslation check the following settings (they are already checks by default).
- Request settings: Rewrite Headers
- Request settings: Insert X-Forwarded-For Header
- Response Settings: Rewrite Headers
- Response Settings: Rewrite Content
On URI rules configure your entry like that:
You have to add this rules for each backend server...
keep me in touch.
regards