Forum Discussion
vasu_95875
Nimbostratus
Dec 07, 2009how to forward to a java specific context root
Hi
I am new bee to F5 BIG-IP.
How to forward http request to specific context root of the pool member.
There is no index.html pages
http --> to forward a member at --> hostname:8787/bank/banknds/login/login.jsp
using BIG-IP LTM 6400 BIG-IP 10.0.1
thanks
vasu
- The_Bhattman
Nimbostratus
Hi Vasu,when HTTP_REQUEST { if {[HOST::uri] eq "/" } { HTTP::redirect "http://[HTTP::host]:8787/bank/banknds/login/login.jsp" } }
- vasu_95875
Nimbostratus
Thank you. Let me try. - hoolio
Cirrostratus
I'm guessing you probably want to rewrite the URI, not redirect the client to the internal web server port. If so, you can use HTTP::uri to rewrite the URI when a client requests the root document, /:when HTTP_REQUEST { if {[HTTP::uri] eq "/" } { HTTP::uri "/bank/banknds/login/login.jsp" } }
- vasu_95875
Nimbostratus
Thank you Battman and Aaron for you quick response.
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