Forum Discussion
VOLA_144433
Nimbostratus
Oct 23, 2014Simple URL rewriting
Hello, I'm a newbie in F5 ...
My pb is very simple I guess but I cannot find the right method, redirect ou rewriting ?
here it is, I need to change a URL call from http://HOST/toto/api/ -> http://HOS...
Thomas_Gobet
Nimbostratus
Oct 24, 2014If it's about web services, the best solution is to rewrite URI I think.
Does your URI condition is /api or /alfresco/api ?Here is the iRule for /api condition :
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/api" } {
set uri [string map -nocase {"/api" "/soapapi"} [HTTP::uri]]
HTTP::uri $uri
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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