Skip to content

Custom error pages for 404, 500 status codes #110

Open
@GoogleCodeExporter

Description

@GoogleCodeExporter

This can be implemented either through Mongoose web server error handling mechanism, or through the OnLoadError() callback in CEF.

For now I see only use for it for 404 pages. But there might be other cases, like directory listing denial (500?). PHP errors can be handled via set_error_handler and set_exception_handler functions. Though we might support all 5xx status codes here as well.

Support for other error codes should be straightforward to add, see

// Called when mongoose is about to send HTTP error to the client.

See also related issues that are about friendly error messages:

Original issue reported on code.google.com by [email protected] on 8 May 2014 at 11:28

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions