Forum Discussion
jasona_40790
Jun 15, 2012Nimbostratus
Richard,
Still not working. Here is the /var/log/ltm:
Jun 14 17:18:56 local/tmm1 err tmm1[7808]: 01220001:3: TCL error: iRule-Downtime503 - Illegal argument. Can't execute in the current context. (line 1) invoked from within "HTTP::header replace Retry-After: 10800"
Here is the iRule:
when HTTP_REQUEST_SEND {
HTTP::header replace Retry-After: 10800
TCP::collect 12
}
when SERVER_DATA {
if {[findstr [TCP::payload 12] "200"] == "200"} {
TCP::payload replace 9 3 "503"
}
}