David_Noonan_67
Oct 21, 2008Nimbostratus
iRule causing ltm errror message
The attachment contains an iRule (the forum didn't like it when I tried pasting it here) that's causing error messages in our ltm file.
The error messages look like this except I broke it up make it more legible.
Oct 21 12:55:41 tmm tmm(1684): 01220001:3:
TCL error: merlin_Set-Japan-Ip-Header -
Operation not supported (line 17)
invoked from within "HTTP::header insert X-Japan-IP N"
The class referenced in the iRule contains 1842 lines like this "network 58.0.0.0/15," that are IP subnets in Japan. The iRule sets a header if the source address is on one of those subnets so that the application can feed them a Japanese language page. I don't know why they didn't use the browser's language setting to do this.
If you've got any ideas for improving the iRule or fixing our problem I'd love to hear them.
Thanks,
Dave