Forum Discussion

cvrnr_18603's avatar
cvrnr_18603
Icon for Nimbostratus rankNimbostratus
Nov 27, 2007

Conerting URL to different case

I have a URL passed by the client as

 

 

WWW.Xam.com

 

 

no i want this url to be www.xam.com after it reaches my big-ip will the tolower function acheive this

 

 

i am new to irules i need help

2 Replies

  • You might want to post this to the iRules forum next time.

    Here's how you convert the URI to lowercase.

    when HTTP_REQUEST {
      HTTP::uri [string tolower [HTTP::uri]]
    }

    -Joe