For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Antony2015's avatar
Antony2015
Icon for Altostratus rankAltostratus
May 13, 2014

/URI is not working cpmpared to /URI/

I am working on LTM version 11.4.1 I got an issue when the users are trying to access the URL

 

https:///gtm --->it is not working. If we bypass F5 and try to access the individual server, I can able to reach the webpage.

 

Instead of above, If i try https:///gtm/ -- it is working...

 

Could anyone advise how we can achieve the access without trailing slash in F5 LTM ?

 

Appreciate your quick response on this.

 

5 Replies

  • Is https://gtm a virtual server on your LTM, or are you trying to access something on a GTM appliance?

     

  • Thanks for your response.

     

    Its a GTM application...not related to F5 Global Traffic Manager

     

    my url is https://geha.bluefin.com/gtm - not working

     

    https://geha.bluefin.com/gtm/ ---working

     

    i need the url without a trailing slash..

     

    Appreciate your quick advise !

     

  • Do you have any iRules associated with this virtual server, or any local traffic policies? If so, please share them.

     

  • If you do a client side capture going directly to the server with the "/gtm" URI, do you see it issuing a redirect to "/gtm/"? And do you see the complete and correct URL in this redirect?

    Otherwise, you could either transparently change the URI:

    when HTTP_REQUEST {
        if { [string tolower [HTTP::uri]] equals "/gtm" } {
            HTTP::uri "/gtm/"
        }
    }
    

    Or explicitly:

    when HTTP_REQUEST {
        if { [string tolower [HTTP::uri]] equals "/gtm" } {
            HTTP::redirect "http://[HTTP::host]/gtm/"
        }
    }