Mersin_108215
Jan 30, 2014Nimbostratus
HTTP Respond and Redirect Together
Hi -
I need to be able to send an HTTP 404 along with a redirect. Can this be done? Why I want to do this... My OOS page is hosted externally. Currently I have an iRule that will send a 404 with content that is src="http://myoospage.othersite.com" This doesn't work for ssl connections, though, because it's attempting to use insecure content.
Any suggestions? I'm thinking if I can respond with a 404 and redirect that would work. The 404 response is a requirement.
Thanks!
Maybe something like this...
when HTTP_RESPONSE { if { ([HTTP::status] equals "404") } { HTTP::respond 404 content " " } }