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 have the following which doesnt seem to work.
I HAVE FIGURED IT OUT, the following works
rule url_redirect
when HTTP_REQUEST {
if { [HTTP::uri] contains "wnidata2"} {
log local0. "URL is [HTTP::uri]"
HTTP::redirect "http://someurl[HTTP::uri]"
HTTP::redirect "http://www.google.com"
}
}
thanks
-sr
3 Replies
No RepliesBe the first to reply
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