Forum Discussion
John_Alam_45640
May 29, 2008Historic F5 Account
Since it is fun we are after, how is this:
when HTTP_REQUEST {
HTTP::redirect "https://www.domain1.com/nsa/+homePage="+[regsub {^www\.} [HTTP::host] ""]
}
If i got all the synthax correct, regsub should remove www. if it finds it, if it does not, it should return [HTTP::host} as is.
John