Forum Discussion
PM-Steve_69838
Nov 01, 2011Nimbostratus
This should be an easy one..
Hi guys -
First time out here, great site... I have a web site that I just configured for my virtual server that is reached by typing: http://ERP
The situation is that I need to create a rule that will append and make the web call to: http://ERP/portal
Can someone please help me figure out how to write this VERY basic iRule to make this happen??
Much thanks in advance.
Steve
- richard_77048Nimbostratus
when HTTP_REQUEST { if { [HTTP::uri] equals "/" } { HTTP::redirect "/portal" } }
- ArieAltostratusIf I'm not mistaken, HTTP::uri includes the query string (if present). For that reason I'd use HTTP::path in this instance.
- PM-Steve_69838NimbostratusThanks Richard,
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