Forum Discussion
SamiK_85475
Nimbostratus
Jan 09, 2011Changing the host name, part of the URI and then redirect
Hello,
I've seen lots of ideas close to what I'm trying to accomplish, but I still seem to run into problems. I hope you can help.
I'm trying catch all http requests, if the host ...
hoolio
Cirrostratus
Jan 10, 2011You pretty much had it in your first post:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] ends_with "acb.com" and [HTTP::uri] starts_with "/se" }{
HTTP::redirect http://www.xyz.com/sv[string range [HTTP::uri] 3 end]
}
}
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