al_kabeer_2905
Nov 25, 2011Nimbostratus
Create Friendly URL
Hi i have bigIp LTM, v11 OS
i want to create friendly URL instead typing big URL to access the application, i google and found the below html code
i just want to fit the following in the code:
my URL "http://10.10.1.10:4030/xyzbnhtyijhgful/ccvvddaa
i want to be http://10.10.1.10
how can write the code below to fit my requirments
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/ug/atl" {
HTTP::redirect "http://[HTTP::host]/a7391/users/0928179/events/live/release/20110403/regions.php?region=atl"
}
"/ug/sea" {
HTTP::redirect "http://[HTTP::host]/a2416/users/0622375/events/live/release/20100602/regions.php?region=sea"
}
}
}
}
}
}
}
Thanks
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/ug/atl" {
HTTP::redirect "http://[HTTP::host]/a7391/users/0928179/events/live/release/20110403/regions.php?region=atl"
}
"/ug/sea" {
HTTP::redirect "http://[HTTP::host]/a2416/users/0622375/events/live/release/20100602/regions.php?region=sea"
}
}
}