Forum Discussion
VictorC
Jun 21, 2011Nimbostratus
Colin,
I get the following error:
line 2: [command is not valid in current event context (CLIENT_ACCEPTED)] [HTTP::uri]
Hoolio,
I tried your 2nd sample with the glob because it looks like we'll have more /uri to allow in the future. However there is something interesting. The iRule works when I hit the home page (it gets blocked and confirmed when I turned on logging). When I go to /myuri it is working as well. However, when I hit the Back button on the browser to the original home page, it lets me in even though the log says I'm blocked. Some kind of loophole, eh? I even cleared my cache and cookies just to be sure.
Thanks