Mike_Smith_1088
Apr 01, 2014Nimbostratus
I 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/any_directory_name/any_pgm_name.aspx Between the F5 and Server I need https://www.company.com/any_directory_name/any_pgm_name.aspx
I do not want the client to know the "/information" directory is missing from the internal request/response. What do I need to do on the F5 to rewrite the URI for request and response? If this can be done easily within the GUI how would I config it?
This is not working.
when HTTP_REQUEST { switch -glob [string tolower [HTTP::uri]] { {HTTP::uri string map { "/information" "" } } }}