Forum Discussion
PM-Steve_69838
Nimbostratus
Nov 01, 2011This 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_77048
Nimbostratus
when HTTP_REQUEST { if { [HTTP::uri] equals "/" } { HTTP::redirect "/portal" } }
- Arie
Altostratus
If 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_69838
Nimbostratus
Thanks 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