Forum Discussion
Colin_17201
Nimbostratus
Jun 15, 2008Help On Redirect on F5
Hi All,
I got a problem is when i enable the "rewrite redirect" on the http profile. After i turn it on with the "matching" not even putting any irules in the Virtual Server, when i typ...
hoolio
Cirrostratus
Jun 20, 2008I assume you only want to redirect requests for abc.com to the root document to /abc. If so, you can add a check for the path:
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] equals "abc.com" && [HTTP::path] eq "/"}{
HTTP::redirect "http://abc.com/abc"
}
}
Aaron
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
