Forum Discussion
jaskel_40663
Nimbostratus
Apr 29, 2008Block specific URI
I have a need to block a specific uri as well as insert the client IP address into the HTTP header. I have the HTTP header insertion iRule and it works well:
when HTTP_REQUEST {
...
jaskel_40663
Nimbostratus
Apr 29, 2008Thanks! I had to make the header insert a higher priority to avoid these errors:
Apr 29 11:47:36 tmm tmm[17686]: 01220001:3: TCL error: Rule client-ip-insert - Operation not supported (line 1) invoked from within "HTTP::header insert "Client-IP" [IP::client_addr]"
Apr 29 11:47:57 tmm tmm[17686]: 01220001:3: TCL error: Rule client-ip-insert - Operation not supported (line 7) invoked from within "HTTP::header insert "Client-IP" [IP::client_addr]"
But it work perfectly. Thanks again!
-Jas