Forum Discussion

wlepkin_98758's avatar
wlepkin_98758
Icon for Nimbostratus rankNimbostratus
Oct 08, 2012

Parsing error for iRule when synchronizing

Hi, I've added the following iRule:

 

rule windom-redirects {

 

when HTTP_REQUEST {

 

log local0. "Host is [HTTP::host]"

 

switch [HTTP::host] {

 

"itil" { HTTP::redirect }

 

"jpal" { HTTP::redirect }

 

"plm" { HTTP::redirect }

 

"pmbp" { HTTP::redirect }

 

default { discard }

 

}

 

}

 

}

 

which was accepted without error when I added it via the GUI. But when I try to synchronize from the Active to the Standby, I get this error:

 

BIGpipe parsing error (Line 4365):

 

012e0021:3: The requested attribute () for 'rule' is invalid.

 

 

...where line 4365 is the 'rule' line. Any thoughts on what I'm doing wrong?

 

Thanks!

 

Wayne

 

6 Replies