You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Hi,
If there was an option (a settings.json parameter) to set a single error page for all possible errors then too it was great. The need to for separate error pages for 404,500 etc might be minimum, but the certainly there is good need and use for a common/general custom error page.
Thanks and regards,
Sreenadh
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
phpdesktop/phpdesktop-chrome/web_server.cpp
Line 52 in 190fbae
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:28The text was updated successfully, but these errors were encountered: