Forum Discussion
Traffic goes to real server sub path | irule needs to create
Dear Friends, I have to create Irule for the following scenario,
When we accessing the url/vip at the time traffic goes to real server sub path. Please advise to me how to create, needs to deliver before tomorrow morning, please help me.
Ex: Vip : 192.168.1.2
Node : 10.10.10.2:8080/subfloder/log.html
Please advise to me how to create Irule.
- Ramesh_Babu_A_3
Nimbostratus
Hi Rafael,
Thanks for your info, i will check and let you know.
But user should not know about the back end redirection, because they should only access the url or vip.
Is it possible to we create like that ?
- rafaelbn
Cirrostratus
Humm... That way I think you will have to use some kind of rewrite profile (I think). The redirect I told you woul get to the user's browser for sure.
- Ramesh_Babu_A_3
Nimbostratus
Hi Rafael,
Could you please guide me, i am not aware about the rewrite.
- rafaelbn
Cirrostratus
Hi Ramesh! I'm afraid I can't. Never did that!
Best of luck.
- Ramesh_Babu_A_3
Nimbostratus
Hi Rafael, Ok no issues. Thanks
- Samir_Jha_52506
Noctilucent
You can write irule some thing like this.
when HTTP_REQUEST{ if { [string tolower [HTTP::uri] ] starts_with "/" } { HTTP::uri [string map {"/" "/subfloder/log.html"} [HTTP::uri]] node 10.10.10.2 8080 } }
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