Home > Configuration > Application Firewall > setappfwprofile_htmlerrorstatuscode

setappfwprofile_htmlerrorstatuscode

Use this method to set response status code associated with HTML error page. Non-empty HTML error object must be imported to the application firewall profile for the status code.

Syntax



Parameters

name

Name of the profile that you want to modify.
This is mandatory parameter.

htmlerrorstatuscode

Response status code associated with HTML error page. Non-empty HTML error object must be imported to the application firewall profile for the status code.
Default value = AS_ERROR_CODE_DEFAULT.
Minimum value = 1.
Maximum value = AS_ERROR_CODE_MAX.

Return Value

Returns simpleResult

See Also