Forum Discussion
Steven_Ruby_872
Nimbostratus
Jan 13, 2006http url redirect
after searching through the forum and trying a couple of diff iterations of redirect iRules.
i need to redirect requests for http://server/dir to http://new.server/dir
currently i ...
Colin_Walker_12
Jan 16, 2006Historic F5 Account
When you say this doesn't work, what exactly do you mean? The rule appears to be correct. It's a pretty standard redirect rule that looks like:
when HTTP_REQUEST {
if {[string tolower [HTTP::uri] ] contains "wnidata2"} {
log local0. "URL is [HTTP::uri]"
HTTP::redirect "http://fms.wni.com[HTTP::uri]"
}
}
-Colin
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