Friday, December 31, 2021

Re: PHP 500 error does not redirect to custom error page in httpd

On Fri, Dec 31, 2021 at 09:13:38PM +0000, iio7@protonmail.com wrote:
> Oh, the problem is that httpd cannot intercept fast-cgi errors.

Yes it can...

... if you hack the server_abort_http function in server_http.c :-)

Have a look at our 404 page, for example:

https://www.exoticsilicon.com/foobar

That's httpd ;-)

No comments:

Post a Comment