Forum Discussion
Keith_Goguen_52
Apr 06, 2011Nimbostratus
Simple iRule for URL appending?
Hey - was wondering if someone could give me a hand with a pretty basic task... how to append(or redirect) and URL. I have some people comming into a VS for "host.unit.com", but I have to send them to...
Michael_Yates
Apr 06, 2011Nimbostratus
This is a simple version that does what you are describing that you need.
when HTTP_REQUEST {
if { [HTTP::path] equals "/" } {
HTTP::redirect "/somewhere/else.html"
}
}
If you are needing something in addition to this or different functionality let us know.
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