Michelle_Johns1
Jan 08, 2013Nimbostratus
create an httpclass
i am trying to create an httpclass using tmsh, but am having trouble with the "glob" or "regex" to express a wildcard.
If I was in the GUI, I would create a new HTTPclass, click the checkbox to match on ANY host, then redirect to "www"
so, a user who typed "http://mydomain.com" would get redirected to "http://www.mydomain.com"
Here is what I have so far with the tmsh:
create ltm profile httpclass httpclass_www-redirect hosts add {glob: "*"} ....