Forum Discussion
Mike_Smith_1088
Nimbostratus
Apr 01, 2014I need to rewrite a URI between the F5 and Server only
I have a situation where I would like to remove a directory from the URI but keep all other information in tact.
example:
Between the Client and F5 I need https://www.company.com/information/an...
Mathew_Loesch
Nimbostratus
Oct 15, 2014Will this work??
when HTTP_REQUEST {
set client_uri [HTTP::uri] set client_host [HTTP::host] HTTP::uri [string map {"/information" ""} [HTTP::uri]] } when HTTP_RESPONSE { HTTP::respond "http://$client_host$client_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