Forum Discussion
dionlbc_22838
Jan 18, 2012Nimbostratus
Host and URI rewrite
Hi All, I'm stepping in to help with an F5 configuration while our person who is primarily responsible is out on maternity leave. I'm looking to do what seems to be a simple redirect of the ...
Michael_Yates
Jun 26, 2012Nimbostratus
Hi Ruddiger,
Just a minor modification to the solution that Hoolio posted would do what you are needing:
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] eq "corporate.company.com" } {
HTTP::redirect "http://development.company.com[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