Forum Discussion
Jovanny_Basilio
Nimbostratus
Mar 15, 2010Simple URL redirect
I have a need for a simple iRule that will redirect based on url...to put it simple I am trying to redirect
domain.com ---> to www.domain.com
domain.com/abc ---> www.domain.com/...
naladar_65658
Altostratus
Mar 16, 2010This one should do what you are looking for:
when HTTP_REQUEST {
HTTP::redirect "http://www.[HTTP::host][HTTP::uri]"
}
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
