Forum Discussion
Virtual 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 to be used only through VIP without re-directing URL to pool member IP. Your suggestions are highly appreciated to fix this issue.
Kind Thanks
Ahmad
- youssef1
Cumulonimbus
Hello Ahamd,
you potentially have an absolute link problem. the use of relative link is recommended which allows redirecting the user to the host of this request. to correct this it's quite simple, you just have to create a "rewrite" profile and put the matches that go well.
Let me know if you need help for "rewrite profil" settings.
regards
- iRule
Cirrus
Dear 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
Hello 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
- iRule
Cirrus
Dear Community,
Please share any thoughts on my issue as I have not got a fix yet.
Recent Discussions
Related Content
* 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