Forum Discussion
GeorgeA_32263
Apr 16, 2014Nimbostratus
Sorry; I moved too quickly. Tested the syntax below. The result is:, the browser displays the message "please bookmark the next page" with no problems. don't need the html code. However the execution stops there. the next procedure; to redirect to http://www.mywebsite.com/newresources/todaysnews does not execute. Is it supposed to go to the next line of code after the "return" and execute the redirect or is something missing?
when HTTP_REQUEST { if { [HTTP::uri] contains "resources"} {
HTTP::respond 200 content { Please bookmark the next page} return }{HTTP::redirect "http://www.mywebsite.com/newresources/todaysnews/" }}