Yozzer
Aug 14, 2012Nimbostratus
sporadic redirect
Hi
The last part of the following irule (respond) doesnt always trigger:
when HTTP_RESPONSE {
if {$param == 1} {return}
if {$bcooky == 1} {HTTP::cookie insert name "Site" value "Test" path "/"
HTTP::cookie expires "Site" 2678400}
if {$param == 0} {HTTP::respond 404 content "Page not Found\
Page Not Found" }
I have put log commands in and it does trigger the if statement (== 0) but do you know why it doesnt trigger the respond?
Thanks