Forum Discussion
muzammil_88686
Nimbostratus
Jul 19, 2013Redirection to another host with the same URI
Dear Dev Team,
I m looking to redirect the URL as below.
From
http://test.com/home-page/register-user*
To
http://www.test.com/home-page/register-user*
Could you pls someone suggest an iRule?
Best Regards,
1 Reply
- Kevin_Stewart
Employee
when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "test.com" } { HTTP::redirect "http://www.test.com[HTTP::uri]" } }
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