Fortinet black logo

CLI Reference

config load-balance error-page

config load-balance error-page

When backend real servers are unavailable or another status code for other module (ex: WAF/DoS/Auth), FortiADC can respond to clients attempting HTTP/HTTPS connections with a customized HTML error page. Once you create an HTML error page, you can select it in virtual server configurations.

Syntax

config load-balance error-page

edit <error page name>

set vpath <virtual path>

end

CLI Parameter

Description

vpath

Enter the Virtual Path of the error page. This virtual path will conflict with the custom authentication form base page’s virtual path and also with SAML’s server URL configuration and Captcha path.

The supported error page file packages include:

  • index.html (required)
  • 200.html
  • 202.html
  • 205.html
  • 400.html
  • 401.html
  • 403.html
  • 404.html
  • 405.html
  • 406.html
  • 408.html
  • 410.html
  • 413.html
  • 500.html
  • 501.html
  • 502.html
  • 503.html
  • 504.html
  • default.html

config load-balance error-page

When backend real servers are unavailable or another status code for other module (ex: WAF/DoS/Auth), FortiADC can respond to clients attempting HTTP/HTTPS connections with a customized HTML error page. Once you create an HTML error page, you can select it in virtual server configurations.

Syntax

config load-balance error-page

edit <error page name>

set vpath <virtual path>

end

CLI Parameter

Description

vpath

Enter the Virtual Path of the error page. This virtual path will conflict with the custom authentication form base page’s virtual path and also with SAML’s server URL configuration and Captcha path.

The supported error page file packages include:

  • index.html (required)
  • 200.html
  • 202.html
  • 205.html
  • 400.html
  • 401.html
  • 403.html
  • 404.html
  • 405.html
  • 406.html
  • 408.html
  • 410.html
  • 413.html
  • 500.html
  • 501.html
  • 502.html
  • 503.html
  • 504.html
  • default.html