Forum Discussion
Michelle_Johns1
Nimbostratus
Jan 08, 2013create 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 ...
Approxee
Nimbostratus
Jan 08, 2013Hi Michelle,
I have not been doing F5 for long, but I think this is done with an Irule applied to the Virtual Server
when HTTP_REQUEST {
if { [HTTP::host] starts_with "http://mydomain.com" } {
HTTP::redirect http://www.mydomain.com[HTTP::uri]
}
}
I dont know how to do this exact syntax with tmsh, but I think to do a redirect you need an Irule and apply this to the VS
Graham
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects