Forum Discussion
iaine
Jan 29, 2021Nacreous
Hi
Try changing the " " to group the HTML to { } braces instead as per the error. Suspect the " in the style lines are causing a conflict.
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
HTTP::respond 200 content {
<html>
<head>
<title>Maintenance Page</title>
</head>
<body>
<article>
<center><h1 style="color: #000;">
Xin lỗi quý vị, hệ thống đang được bảo trì. Xin quý vị quay lại sau khi bảo trì hoàn tất.</h1> <center>
<div>
<center><h1 style="color: #000;">Xin trân trọng cảm ơn!.<p></p><center>
</center></h1></center></div>
<article>
</body>
</html>
}
}
}
- luyenntk50dbFeb 01, 2021Nimbostratus
Thanks for ,
I changed belong as you. But irule failed.