Imperva Cyber Community

communities_1.jpg
 View Only
  • 1.  How handle status code 404

    Posted 04-07-2021 21:38
    Hi team:

    I'm looking for a way to handle the status code 404 of my backend server and response to the client with a custom page and custom status code.

    Best regards.

    Jose Uribe
    #CloudWAF(formerlyIncapsula)

    ------------------------------
    Jose Uribe
    IT Manager
    Multicomputos SRL
    Distrito Nacional
    ------------------------------


  • 2.  RE: How handle status code 404
    Best Answer

    Posted 04-13-2021 07:46
    Hi Jose,

    With the CloudWAF you can configure a custom error page for the specific errors from the WAF itself when they are presented to end users.

    You may configure such on the account level or per site. There are a some guidelines to follow and more about the specific errors which the error page is presented can be found on our documentation in the following link -

    https://docs.imperva.com/bundle/cloud-application-security/page/error-pages.htm

    Don't hesitate to reach out should you have any further inquiries.

    ------------------------------
    Isaac B
    Support Engineer
    Imperva
    ------------------------------