iRule – Altering Header Information

This iRULE example will alter the incoming URI before passing the request to the servers: when HTTP_REQUEST { switch -glob [HTTP::uri] { /old_URI/* { HTTP::uri /new_URI[HTTP::uri] } } } In this case, for any incoming request that starts with the URI “/old_URI/” (http://domain.com/old_URI/), the “/old_URI/” will … “iRule – Altering Header Information”

Read More

iRULE – non-English Characters

The web browser will URL encode URI’s that contain special characters. For example, http://www.domain.com/été is encoded as follows: http://www.domain.com/%C3%A9t%C3%A9 when HTTP_REQUEST { set ENCODED_URI [ b64encode [HTTP::uri]]     switch [HTTP::host] { “domain.com” {           if { (($ENCODED_URI eq “LyVDMyVBOXQlQzMlQTk=”) or ($ENCODED_URI eq “L2ZyLyVDMyVBOXQlQzMlQTk=”)) } { pool … “iRULE – non-English Characters”

Read More

An Intro to iRULE

This post will provide basic information related to iRULE. The intention of writing this post is to provide someone new to iRULE with basic introduction and cover some of the often used Functionality. This isn’t an in-depth coverage of iRule. What is an iRULE: TCL … “An Intro to iRULE”

Read More