Configure Default Error Page 

When a custom error page is used, the administrator could add a Reference ID in order to easily search for event details in cases of false positives. To generate a Reference ID in a custom error page, the variable %RID% should be added to the code of the HTML page.

Here is an example page:

<html>

<body>

<p>The request has been blocked.</p>

<p>Please contact the site administrator and provide the following Reference ID: %RID%</p>

</body>

</html>

 

 

Once the page is created, open dotDefender and perform the following steps:

  1. Select the Security Profile in which you would like to change the default error page.
  2. On the right pane, select "Error Page".
  3. Select one of the following:
    • Select Custom if you would like to select a custom page located on your server. Press the Browse button and select the page you would want dotDefender to display to the attacker's browser. This page must be located in the wwwroot or a subdirectory, since these directories have sufficient permissions for the IIS.
    • Select Redirect to URL to instruct dotDefender to redirect the user to a full URL path. In this case, no error page will be displayed.
  4. Press on the Apply Settings button for settings to take effect.