In our .htaccess file we have following rule and it is working fine.
RewriteRule ^status/400$ - [R=400,NC,L]
But when we try to show custom error using http_response_code(400) it doesn't work. Instead it shows "This page isn’t working".
Can any one please help with this.