Forum Discussion
Daniel_104050
Aug 29, 2012Nimbostratus
Need more redirect help
Sorry for the elementary questions, but I am new to F5 and have been thrown to the wolves so to speak. I need to find out how/if this can be done and searches aren't showing me what I am looking for,...
Daniel_104050
Sep 07, 2012Nimbostratus
thank you but I am having some problems getting this to work. This is what I have in my irule. When the user hits the site sharepoint goes and retrieves the site from the database. I want to do a re-write, not a redirect I think. This way it actully sends the url string.
when HTTP_REQUEST {
if {[HTTP::host] eq "site"} {
switch [string tolower [HTTP::uri]] {
"/a" { HTTP::redirect "http://[HTTP::host]/sites/a" }
"/b" { HTTP::redirect "http://[HTTP::host]/sites/b" }
default {
do something
}
}
}
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