drumik_61546
Oct 21, 2009Nimbostratus
http:respond method
I found a great KB on how to set up a maintanance page
http://devcentral.f5.com/Wiki/default.aspx/iRules/LTMMaintenancePage.html
Evertything working but we don't want to use redirect page and the html error page contains some images and I can't figure out how to make them load with http::respond method.
when HTTP_RESPONSE {
if { [HTTP::status] == 404} {
set error_html [lindex $::error_html 0]
set style.css [lindex $::error_style_css 0]
set l1is_logo.gif [b64decode [lindex $::error_l1is_logo_gif 0]]
HTTP::respond 200 content $tsa_error_html "Content-Type" "text/html"
HTTP::respond 200 content $tsa_error_style_css "Content-Type" "text/css"
HTTP::respond 200 content $tsa_error_l1is_logo_gif "Content-Type" "text/css" }}