Forum Discussion
Tariq_Sako_9038
Nimbostratus
Nov 07, 2012HTTP URL redirect or replace
hi all,
i need help to configure an irule, when a user request www.example.com which is pointed to my VIP, i want the LTM change this URL to something like www.example.com/forums/login.jsp and request it from the pool.. i dont want the user to enter this long URL.. can you help me to achive that please..
3 Replies
- What_Lies_Bene1
Cirrostratus
This should do it;when HTTP_REQUEST { if { [string tolower [HTTP::uri] equals "/" } { HTTP::uri "/forums/login.jsp" } } - Tariq_Sako_9038
Nimbostratus
thanks a lot for your kind help. - hoolio
Cirrostratus
If you're just checking for a URI of /, you can skip setting the URI to lowercase:when HTTP_REQUEST { if {[HTTP::uri] equals "/" } { HTTP::uri "/forums/login.jsp" } }
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
