Forum Discussion
DaveC_53879
May 02, 2012Nimbostratus
Configsync failing due to rule syntax
I have a new rule that works correctly redirecting traffic from one domain to another domain with an extra dash in the domain name. Pretty straightforward. But when I try to sync the configs to the ...
Nathan_Houck_65
May 02, 2012Nimbostratus
I was able to do a b verify load on a10.2.3 box with the short rule name and syntax below. It may be worth it, to blow away the Irule and put it back in in order to rule out syntax.
[root@bigipbox1:Active] config b rule test_rule list
rule test_rule {
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host]] {
"www.site1.com" -
"site1.com" {
HTTP::redirect http://www.site-1.com[HTTP::uri] } } }
}
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